There's an issue with one of our content type when clicking the "Remove" button on added taxonomy terms - we get the following error:

"Syntax error, unrecognized expression: #"

Tracing through the javascript execution, the error fires during the re-binding of Drupal behaviors, after the ajax request returns with the new HTML.

We thought it was related to http://drupal.org/node/1315192, but after wrapping all our attribute value selectors with double quotes, this didn't fix the issue.

In the end, we threw a try/catch blog over the "Drupal.attachBehaviors(Drupal.HierarchicalSelect.context);" line in hierarchical_select.js to catch and dismiss this particular error, while throwing any other sort of error that comes through.

Patch(es) to follow, once I have an issue number after posting this...

Comments

meyian’s picture

StatusFileSize
new961 bytes

This is the D6 patch

meyian’s picture

Version: 6.x-3.7 » 7.x-3.0-alpha3
StatusFileSize
new967 bytes

This is the D7 patch

meyian’s picture

Status: Active » Patch (to be ported)
meyian’s picture

Status: Patch (to be ported) » Needs review
meyian’s picture

Version: 7.x-3.0-alpha3 » 7.x-3.x-dev
meyian’s picture

Issue summary: View changes

omitted error text

gold’s picture

Issue summary: View changes
Status: Needs review » Closed (outdated)

This is a 7 year old issue that I've not been able to replicate. Also, the patch no longer applies.

If this is still an extant issue could the description be updated with detailed steps to replicate and the patch be rerolled.