Seeing all the work for saving forms, maybe this is issue is unimportant. But since the 5.x-1.2 version is still the recommended version, I'm submitting it.

I ran into this with the wikitools module, that checks to see if the newly added title has the same nid as an existing one. When autosaving from node/add/wiki, a node is created. Then when I hit submit from the form, the wikitools validate thinks it's adding a new node, and node validate fails.

The problem is that on node/add, when the node is autosaved, it now has a nid, vid, and changed, and a different form action url. These need to be updated on the form, so that when it is submitted, it's submitting an edit instead of an add.

CommentFileSizeAuthor
nodeadd.patch1.55 KBdouggreen

Comments

liquidcms’s picture

Hey Doug,

I just added "my version" which is the cleaned up version of saving forms as 5.x-3.x. This is now the official suggested version of this module. I am new to using cvs on d.org though so i see that i never got my release as an official release - although it is posted on the releases page.

I'll look at that tonight.

douggreen’s picture

Status: Needs review » Closed (won't fix)

Ok, thanks, if 5.x-3 is now the supported version then this patch is moot. I'll retest with that version of autosave.