As mentioned in the second paragraph of post at http://drupal.org/node/276782#comment-905724, if I attempt to edit a node with a subform that has already been created, on clicking submit, I get a 'This content has been modified by another user, changes cannot be saved' error message, even if no form values have been changed.

I'm not sure if it's related, but when editing a nod with multiple subnodes, only the last one is shown on the edit form as well, it'd be excellent if the form presented each attached subnode.

Comments

noelbush’s picture

I have found that a small patch to subform_element avoids this error. I don't think it's a proper solution, but it gets me around this problem for the moment. See http://drupal.org/node/287378.

noelbush’s picture

Priority: Normal » Critical

My "solution" suggested above doesn't really help. I think this is a very critical problem. Anybody out there?

Tamar Badichi-Levy’s picture

I'm sorry for not being around so much time... About this issue. "subform element" module does not support multiple forms with the same form_id in the same form. I have spent a lot of time to find a workaround but without success. Do you have this error on forms with one subform of each form_id?

noelbush’s picture

In my situation, there appears to be only one value of "form_id" on the entire form. Its value is "admission_application_node_form".

I am using relativity, and I have a type called "admission_application" and a type called "applicant". An "admission_application" can have one or more "applicant" children. Using your module along with subform_element seems to work fine when creating the initial admission_application and one applicant, but then when I go back to edit an existing admission_application, I get the error mentioned above when I try to save.

t4him’s picture

Subscribing for possible solution to this problem.

socialnicheguru’s picture

did anyone take a look at:

http://drupal.org/node/187953

I think it is a patch to subform element to allow for multiple subforms of the same type to a node.

EDIT: ABOVE IS FOR A DIFFERENT ISSUE. SORRY

this did help me though:
http://drupal.org/node/276782#comment-907248