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

Javascript Error At Shopping Cart Price Rule Creation
 
centerax
Sr. Member
 
Avatar
Total Posts:  90
Joined:  2008-09-10
Montevideo, Uruguay
 

Hi,
After upgrading to Magento v 1.1.7 the product chooser stopped working.

At this url: http://www.domain.com/index.php/admin/promo_quote/new/

When you go to conditions then: Add condition “Product attribute combination” -> Product Attribute -> SKU -> is -> Open chosser

It gives this javascript error:
this.updateElement is null

Regards,
Pablo

 
Magento Community Magento Community
Magento Community
Magento Community
 
Jelmo
Jr. Member
 
Total Posts:  28
Joined:  2008-08-15
 

Got the same error, and i need this fixed like yesterday smile

so i hope someone has found an answer rasberry

 
Magento Community Magento Community
Magento Community
Magento Community
 
Sebastian G
Guru
 
Total Posts:  336
Joined:  2007-09-15
 

Have you tried upgrading to 1.1.8?

 
Magento Community Magento Community
Magento Community
Magento Community
 
centerax
Sr. Member
 
Avatar
Total Posts:  90
Joined:  2008-09-10
Montevideo, Uruguay
 

I ‘ve updated to v 1.1.8 and the bug is still present.
I’ve reported a bug to Magento Team.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Sebastian G
Guru
 
Total Posts:  336
Joined:  2007-09-15
 

Before upgrading did you check your JS folder permissions?

 
Magento Community Magento Community
Magento Community
Magento Community
 
centerax
Sr. Member
 
Avatar
Total Posts:  90
Joined:  2008-09-10
Montevideo, Uruguay
 

all folders have the right perms.
does the product chooser work on your magento installation on v 1.1.8?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Jelmo
Jr. Member
 
Total Posts:  28
Joined:  2008-08-15
 

i’ve tried upgrading 1.1.6 to 1.1.7 but got a lot of errors. After downgrading again, i just tried upgrading to 1.1.8 thats when i first noticed the error. I dont want to go back to 1.1.6 because it’s a hassle and 1.1.8 seems to be noticable quicker…

Anyone got any ideas?

What rights should the js folder have?

Greets

 
Magento Community Magento Community
Magento Community
Magento Community
 
gmax21
Jr. Member
 
Total Posts:  17
Joined:  2008-11-26
 

Same here. I used SSH to set the permissions recursively again just to ensure they were all right but the error is still present.

Does Magento have an SVN or something similar so I can compare the codes from previous releases without actually downloading them?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Sebastian G
Guru
 
Total Posts:  336
Joined:  2007-09-15
 

@gmax21:
A diff file between Magento versions 1.1.6 and 1.1.7 is available here.
A diff file between version 1.1.7 and 1.1.8 is available here.

@Pablo & Jelmo:  Can you guys post a screenshot of your Magento Connect Manager?

 
Magento Community Magento Community
Magento Community
Magento Community
 
gmax21
Jr. Member
 
Total Posts:  17
Joined:  2008-11-26
 

Thanks Tomas G.

Still trying to find my way around here. grin

 
Magento Community Magento Community
Magento Community
Magento Community
 
asrenzo
Member
 
Avatar
Total Posts:  42
Joined:  2008-02-25
France
 

Hi,

Same problem here with a fresh 1.1.8 install. Unable to choose the specific category I want to add a rule to.

“this.updateElement is null” is the Javascript error I get using IE or FF.

Does anybody have any clue ?

Regards,

Laurent

 
Magento Community Magento Community
Magento Community
Magento Community
 
centerax
Sr. Member
 
Avatar
Total Posts:  90
Joined:  2008-09-10
Montevideo, Uruguay
 

Here is the bug I posted to the Magento team: http://www.magentocommerce.com/bug-tracking/issue?issue=4356

They say the can’t reproduce the issue.
I’ll record a video and send it to them.

 
Magento Community Magento Community
Magento Community
Magento Community
 
asrenzo
Member
 
Avatar
Total Posts:  42
Joined:  2008-02-25
France
 

Hi,

This bug is easely reproductible. This is the way I did it a few minutes ago :

Create a new empty database
Install a fresh 1.1.8 magento via the setup wizard
Log in administration backoffice
Create a new category
Create a new product
Assign new product to new category
Try to add a new catalog price rule
Give Rule Name
Select active rule
Select a user group
Click on Conditions
In the option dropdown, select Category
Click on “...”
Try to click on the selector icon

=> It won’t show up. Use Firebug to see the Javascript error

Category is not the only product attribute being affected. This is also reproductible using SKU criteria.

This sounds to me like a CRITICAL bug which must retain your attention because this breaks most promotion rules creation.

@Varien team : Do I need to open a new issue in the bugtracker system or do you plan to reopen this one :

http://www.magentocommerce.com/bug-tracking/issue?issue=4356

Regards,

Laurent

 
Magento Community Magento Community
Magento Community
Magento Community
 
asrenzo
Member
 
Avatar
Total Posts:  42
Joined:  2008-02-25
France
 

Hi,

Does any team member have an idea of what’s going on ?

Regards,

Laurent

 
Magento Community Magento Community
Magento Community
Magento Community
 
Thiago Trivelato
Member
 
Avatar
Total Posts:  52
Joined:  2008-05-13
Brasil
 

The bug remains :(

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