I tried for awhile to make this work, and had no success.
Using the latest dev I wasn't able to create a new relationship using this super-awesome select widget on a node form. The node would save, and nothing would happen relation-wise.
The relation was never being saved if a relation didn't otherwise exist. Patch coming.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | relation_no_save-1597858-1.patch | 790 bytes | vordude |
Comments
Comment #1
vordude commentedThis one works for me. (There's also some standards cleanup around the line I moved)
relation_create() only creates a relation object. That object needs saving.
Comment #2
christoph commentedThanks - this patch works for me as well.
Comment #3
steveoliver commentedpatch in #1 works for me.
Comment #4
steveoliver commentedCommitted to 7.x-1.x in git commit e71aa72. Thanks, vordude.
Comment #5.0
(not verified) commentedYeah. Using words here.