Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

CANNOT SAVE (any) CATEGORY following upgrade to 1.2.0.x {WORK-AROUND}
 
cnrx
Member
 
Total Posts:  34
Joined:  2008-07-24
 

Following an upgrade to 1.2.0.2 (and then to 1.2.0.3), I can no longer save any changes made to any category.

Aparently, when I click on the ‘Save Category’ button, there is a JavaScript error that reads: “console is not defined”.
I traced the problem to /js/prototype/deprecation.js in line 66 which reads:

} console.warn(message);
Regardless of why this hits an error (and why ‘console’ is not defined - I have no clue why), when I print out the contents of the ‘message’ variable, I get this:
Prototype Deprecation WarningElement#getElementsBySelector has been deprecated, please use Element#select instead.
@http://mydomain.com/index.php/admin/catalog_category/:1460
@http://mydomain.com/index.php/admin/catalog_category/:1

and, eventually, I trace this to /app/design/adminhtml/default/default/template/catalog/category/edit/form.phtml where in line 88 it reads:

var fields = $('category_edit_form').getElementsBySelector('input''select');

I have re-installed everything and even restored from backup (from 1.2.0.2).

Am I the only one seeing this?
Why is ‘console’ not defined? Why is the deprecation message not appearing?
Why is the deprecation message try to come up anyway?

and perhaps more to the point… How can I fix it?

Any input welcome!

Best regards to all

 
Magento Community Magento Community
Magento Community
Magento Community
 
ccarrel
Jr. Member
 
Total Posts:  2
Joined:  2009-02-01
 

Did you resolve this?  I am having the exact same problem.

Thanks,
Chris

 
Magento Community Magento Community
Magento Community
Magento Community
 
ccarrel
Jr. Member
 
Total Posts:  2
Joined:  2009-02-01
 

I was able to resolve this using the info in this post
http://www.magentocommerce.com/boards/viewthread/23044/

Chris

 
Magento Community Magento Community
Magento Community
Magento Community
 
cnrx
Member
 
Total Posts:  34
Joined:  2008-07-24
 

Hi Chris,

I also found out why not many people see this problem:
I had enabled the Prototype Deprecation Log [System > Configuration > ADVANCED > Developer > Prototype Deprecation Log > Enabled: Yes]…

I am now sure this is a bug and will report it to ‘Bug Trucking’.

Best regards,
-Costa

 
Magento Community Magento Community
Magento Community
Magento Community
 
MageParts
Guru
 
Avatar
Total Posts:  415
Joined:  2007-11-18
 

Having the same problem. The zoom tool on the detailed product page isn’t working properly for me. Found a solution here though: http://www.magentocommerce.com/boards/viewthread/27696/.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top