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

ensignavenger’s picture

Possible 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.

ensignavenger’s picture

The 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.

steveoliver’s picture

Status: Active » Closed (fixed)

It looks like the fix for this was committed in #1318496: relationSelectItems[id] is undefined on May 10, 2012