Modify ↓
#12721 closed defect (fixed)
[patch] Syntax error in filter expression
Reported by: | Akos Bannerth | Owned by: | Akos Bannerth |
---|---|---|---|
Priority: | normal | Component: | SectionEditPlugin |
Severity: | normal | Keywords: | javascript |
Cc: | Trac Release: | 1.0 |
Description
After upgrading to Trac 1.0.9 the following error appeared from tracsectionedit.js
:
Error: Syntax error, unrecognized expression: *[@id]
which caused any other scripts loaded afterwards to fail as well.
Changing the expression to *[id]
solved it, and it seems to work with the previous Trac version that we used too (1.0.1).
Attachments (1)
Change History (8)
Changed 9 years ago by
Attachment: | tracsectionedit.js.filter.patch added |
---|
comment:3 Changed 8 years ago by
Owner: | changed from Catalin BALAN to Akos Bannerth |
---|
comment:4 Changed 8 years ago by
Will this be backported to 0.2 branch ? It's the only stable branch according to main page...
comment:5 Changed 8 years ago by
You'll want to install from sectioneditplugin/1.2. Consider it to be "stable". Updated documentation in SectionEditPlugin@20.
Note: See
TracTickets for help on using
tickets.
I've later realized that the problem was not with the trac version used, but the fact that debian doesn't use the jquery version bundled with trac, instead it uses a separate package for it as dependency, which also got updated during the trac upgrade.
So the issue appeared when using jquery version 1.11 (the version pulled in by trac 1.0.9 on debian sid)