Hi all, this module is great! Big up to the author!

I believe this is related to this issue? https://drupal.org/node/987624

I have a relation type with a field attached (boolean true/false checkbox). On the endpoint entity's edit form, the Relation Add widget shows the field with the checkable box, and the edit form appears to successfully pass the value of the field to the relation entity, but I get the following error on save:

Strict warning: Only variables should be passed by reference in relation_add_field_update() (line 914 of /sites/all/modules/relation_add/relation_add.module).

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ridgek’s picture

Made a patch. I think this works?

PS, this is my first Drupal patch ever!!!!! \(^_^)/

ridgek’s picture

Oops, sorry. Use this one. *facepalm*

Paul B’s picture

Status: Active » Needs review
Paul B’s picture

Category: task » bug
bmango’s picture

I was having the same problem and the patch in #2 worked perfectly for me.

Many thanks.

Paul B’s picture

Issue summary: View changes
Status: Needs review » Reviewed & tested by the community
mr.york’s picture

Status: Reviewed & tested by the community » Fixed

Thank you patch!
I'v commited.

Status: Fixed » Closed (fixed)

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