Uncaught exception with JQuery Update module enabled
logicalpat - August 14, 2009 - 14:42
| Project: | FCKeditor - WYSIWYG HTML editor |
| Version: | 6.x-2.x-dev |
| Component: | Compatibility with other modules |
| Category: | bug report |
| Priority: | minor |
| Assigned: | Jorrit |
| Status: | closed |
Jump to:
Description
It seems the FCKeditor module has a problem when the JQuery Update module is also installed. Loading a page with the FCKeditor on it throws an uncaught exception in Firebug:
uncaught exception: Syntax error, unrecognized expression: [@class=teaser-button-wrapper]
Then clicking on the "Switch to plain text editor" button throws another:
uncaught exception: Syntax error, unrecognized expression: [@class=teaser-button]
Disabling the JQuery Update module fixes this however there are several modules I use that required the JQuery Update module.

#1
What version of JQuery Update are you using?
#2
I'm using JQuery Update 6.x-2.x-dev
#3
I will look at this soon.
#4
Fixed in 6.x-1.x-dev branch.
#5
Automatically closed -- issue fixed for 2 weeks with no activity.
#6
I need jquery 1.3.2 or higher for some functionality to continue normally at my site, so I need jQuery Update 6.x-2.x-dev. Is there a workaround or solution for this version?
I mentioned similarly in #jquery @ Freenode, and simply removing all instances of @ symbol is the fix needed?
e.g.
ubercart/payment/uc_payment/uc_payment.js: var products = $("[@name=cart_contents]").val();
should be
ubercart/payment/uc_payment/uc_payment.js: var products = $("[name=cart_contents]").val();
#7
Could you specify which @ expressions are still present? I can't find any in the 6.x-2.x branch.
#8
#9
Hi,
I had a problem with jquery update, fckeditor and og (organic groups version = "6.x-1.3")...after installing jquery update 6.x-2.x (needed that branch for blocks in accordion) the fckeditor broke. I hunted down the errors in og_access.js and changed @name='og_selective' to name='og_selective' and it fixed the editor enough so that you can use it (and it doesn't break og) but I still get the above error:
uncaught exception: Syntax error, unrecognized expression: [@class=teaser-button-wrapper]
It's not mission critical as the page still works, but I'd love to know how to get rid of the error altogether.
Thanks!
#10
Does the problem exist in 6.x-2.x-rc2 of the FCKeditor module?
#11
Just wanted to leave my 2-cents -- I had this issue with the Jquery update module enabled, but I had also updated misc/jquery.js to jquery-1.3.2 manually. I uninstalled the Jquery update module and the problem persisted --
Error: uncaught exception: Syntax error, unrecognized expression: [@Name='og_selective']
I then reverted the misc/jquery.js script back to its original 1.2.6 and everything was fine.
Not sure if that pertains.
#12
As the name suggests, [@Name='og_selective'] is related to the organic groups module, not the FCKeditor modules.
#13
Please reopen if you find any jQuery issues with FCKeditor code, and please provide file name, file version and line number.