Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I had pretty much everything working with this module (took a while) but then tried to limit my selection using a View. when i create an entity reference display in my view and select that for the field the Add link on the node edit form is no longer there. the search is still there and still works.
also, i now get an error:
Warning: array_keys() expects parameter 1 to be array, null given in references_dialog_entityreference_add_link() (line 250 of /home/admin/public_html/calpoly/sites/all/modules/Fields/references_dialog/references_dialog.dialog_widgets.inc).
Comment | File | Size | Author |
---|---|---|---|
#4 | allow-add-user.patch | 427 bytes | liquidcms |
#4 | user-view-selction-mode.patch | 727 bytes | liquidcms |
Comments
Comment #1
liquidcms CreditAttribution: liquidcms commentednot sure if this matters; but this is for a user entity reference
Comment #2
leramulina CreditAttribution: leramulina commentedSame problem. I just don't get an error message. But cannot create from that field anymore when I set a view mode.
Comment #3
liquidcms CreditAttribution: liquidcms commentedfyi.. this is with latest -dev; when i go back to 7.x-1.0-alpha4+11-dev (2013-Mar-08) it works fine.
Comment #4
liquidcms CreditAttribution: liquidcms commentedComment #5
liquidcms CreditAttribution: liquidcms commentedughh.. issue editor under D7 kinda bites the big one... i don't seem to be able to add files with comments.. wtf??
anyway.. as i had typed before but then lost.. ughh!!...
it seems this issue might be by my own hand. i created a couple patches to fix that ref dialog didn't work with adding users. then when i upgraded to latest -dev i forgot to re-apply the patches.. they are posted in #4 above in case anyone has a use for them
Comment #6
SocialNicheGuru CreditAttribution: SocialNicheGuru commentedso these are two different patches that need to be applies?
Comment #9
Vacilando CreditAttribution: Vacilando as a volunteer commentedSame problem. The "Create ..." link is there up to the point when I choose filtering by views - then it simply disappears. No error message.
I just work with a simple view of nodes (not users or other entities).
Which of the 2 patches need to be tested?