3

Since updating Magento to 1.8 I have noticed the fix I was using for the 1000 Category save "bug" (quotes as Magento stupidly don't consider it a bug) isn't working anymore.

I was using the one from here: Impossible to save category with more that 1000 products

Has anyone got any idea why not, I have compared the saveAction between versions but can't find what would be breaking the fix?

  • 1
    Why just raise the max_input_vars limit? – Fabian Blechschmidt Jan 27 '14 at 12:53
  • Feel uneasy raising it as isn't there any security concerns about having a too large value, wasn't that why it was lowered in the first place? – bateman_ap Jan 27 '14 at 13:03
  • 2
    There are, but if you need it higher, then raise it. The reason it was introduced was a hash collision vulnerability: phpclasses.org/blog/post/… – Fabian Blechschmidt Jan 27 '14 at 15:26
3

After quite a few hours of playing the linked answer I referred to in my previous question I found it had a little error in it. I had to change the location of the category controller file to within a controllers folder:

/app/code/local/NAMESPACE/CategoryFix/controllers/Adminhtml/Catalog 

Complete working code

https://github.com/medialam/magento-category-fix

| improve this answer | |
  • 1
    As to why it was working for me in 1.7 I had changed the file in the core when I first started with magento before I learnt what a bad idea that was! The upgrade to 1.8 wiped over it – bateman_ap Jan 27 '14 at 13:09
  • 1
    you sir are a legend. Thanks for packaging this up for easy use. Works perfectly. Pretty major bug for Magento to have ongoing and not fixed as yet. I'm sure it's in the list to fix though. – MagentoMac Feb 27 '14 at 0:39
  • @Blair no, they don't consider it a bug! – bateman_ap Feb 27 '14 at 14:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.