Closed (fixed)
Project:
Relation Select
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Feb 2012 at 15:41 UTC
Updated:
25 Aug 2012 at 23:01 UTC
Installed module. Added a relation field to a content type, with the content select widget.
When attempting to select a relation, the search button finds a list of possible nodes, however, clicking on one does not do anything.
Chrome reports an error in the JavaScript:
Uncaught TypeError: Cannot read property 'element' of undefined
getInput
relation-select.js:187
Comments
Comment #1
ensignavenger commentedPossible duplicate of http://drupal.org/node/1318496, however, I am not using the WYSIWIG module, as referenced in this bug. I will apply patch referenced and see if it resolves the issue.
Comment #2
ensignavenger commentedThe patch (A) from http://drupal.org/node/1318496 resolved the error on line 187. However, I am now getting the same error on line 193. This time , it is occurring in the countArity function.
Comment #3
steveoliver commentedIt looks like the fix for this was committed in #1318496: relationSelectItems[id] is undefined on May 10, 2012