When using the organization entityreference on a newly created blog content type, I get errors when loading an edit page, and errors also trying to save.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | org_entityreference_error-1895944.patch | 815 bytes | asherry |
| Screen Shot 2013-01-22 at 12.07.51 PM.png | 78.81 KB | asherry |
Comments
Comment #1
asherry commentedI believe it's because of the RedhenGroupSelectionHandler class, the method getReferencableEntities() should return an array indexed by org type, and then by nid. (right now it's just indexed by nid)
I modeled my patch after what the taxonomy module does, as it has a very similar implementation.
Hope this helps.
Comment #2
asherry commentedComment #3
nedjo#1875538: Undefined offset: 7 in entityreference_options error closed as a duplicate.
Comment #4
levelos commentedComment #5
tauno commentedCommitted. Thanks!