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.

Comments

asherry’s picture

StatusFileSize
new815 bytes

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

asherry’s picture

Status: Active » Needs review
nedjo’s picture

levelos’s picture

Assigned: asherry » tauno
tauno’s picture

Status: Needs review » Fixed

Committed. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

  • Commit 6a357d1 on 7.x-1.x, tests, redhen-donation authored by asherry, committed by tauno:
    Issue #1895944 by asherry: Organization entityreference error. Keep up...
  • Commit ded5267 on 7.x-1.x, tests, redhen-donation by levelos:
    Merge branch '7.x-1.x' of git.drupal.org:project/redhen into 7.x-1.x...

  • Commit 6a357d1 on 7.x-1.x, tests, redhen-donation, relation-roles authored by asherry, committed by tauno:
    Issue #1895944 by asherry: Organization entityreference error. Keep up...
  • Commit ded5267 on 7.x-1.x, tests, redhen-donation, relation-roles by levelos:
    Merge branch '7.x-1.x' of git.drupal.org:project/redhen into 7.x-1.x...