When using the "Add existing node" dialog non-admin users are only able to see one item when they search to add a node (admins can see many nodes using the same lookup/search term). "number of values" is set to "unlimited"
The log displays the following: "Notice: Undefined index: bundle in inline_entity_form_open_form() (line 1121 of /htdocs/drupal/my-site/sites/all/modules/contrib/inline_entity_form/inline_entity_form.module)."
There is also an additional Warning: Invalid argument supplied for foreach() in inline_entity_form_autocomplete() (line 75 of /htdocs/drupal/my-site/sites/all/modules/contrib/inline_entity_form/inline_entity_form.module). in the recent log file.
I have attached several settings-related screenshots. Please let me know if additional information would be helpful. Thanks
| Comment | File | Size | Author |
|---|---|---|---|
| autocomplete.png | 25.52 KB | EWB | |
| sort-by-settings.png | 16.67 KB | EWB | |
| field-settings-1.png | 20.02 KB | EWB | |
| add-existing-node.png | 11.01 KB | EWB |
Comments
Comment #1
bojanz commentedYes, because IEF respects entity access, users can reference only the entities that they have permission to view.
Pushed a fix for this one.
Comment #2
bojanz commentedAnd pushed a fix for the notice in the issue title.