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.
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).
Comment | File | Size | Author |
---|---|---|---|
#2 | relation_add-fix_reference_error-2083101-2.patch | 780 bytes | ridgek |
#1 | relation_add-fix_reference_error-2083101-1.patch | 781 bytes | ridgek |
Comments
Comment #1
ridgek CreditAttribution: ridgek commentedMade a patch. I think this works?
PS, this is my first Drupal patch ever!!!!! \(^_^)/
Comment #2
ridgek CreditAttribution: ridgek commentedOops, sorry. Use this one. *facepalm*
Comment #3
Paul B CreditAttribution: Paul B commentedComment #4
Paul B CreditAttribution: Paul B commentedComment #5
bmango CreditAttribution: bmango commentedI was having the same problem and the patch in #2 worked perfectly for me.
Many thanks.
Comment #6
Paul B CreditAttribution: Paul B commentedComment #7
mr.york CreditAttribution: mr.york commentedThank you patch!
I'v commited.