Posted by noelbush on July 26, 2008 at 1:28am
1 follower
Jump to:
| Project: | Subform Element |
| Version: | 5.x-1.4 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | needs review |
Issue Summary
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.
| Attachment | Size |
|---|---|
| subform_element-no-validate.patch | 635 bytes |
Comments
#1
Sorry, forget the above -- while it seems to allow me to save existing nodes, it prevents proper behavior when first creating them.