Needs review
Project:
Subform Element
Version:
5.x-1.4
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Jul 2008 at 01:28 UTC
Updated:
27 Jul 2008 at 03:06 UTC
When using related_subform along with Relativity, it seems that drupal_validate_form() gets called twice on the same form (or subform?) when editing and saving an existing parent node that has a related child. This results in an error message "This content has been modified by another user, changes cannot be saved", as reported at http://drupal.org/node/278341, and then the node cannot be saved.
I don't understand enough about how all these modules are working together, and this is probably a very bad solution, but I found that when I made the change in the attached patch, I could avoid this error. I hope this helps someone knowledgeable enough to find the actual problem.
| Comment | File | Size | Author |
|---|---|---|---|
| subform_element-no-validate.patch | 635 bytes | noelbush |
Comments
Comment #1
noelbush commentedSorry, forget the above -- while it seems to allow me to save existing nodes, it prevents proper behavior when first creating them.