When the 'create new revision' (under 'workflow settings') setting for a content type is checked, a new revision of the node is only created when the user clicks save from the 'edit' tab; a new revision is not created if the user is on the 'webform' tab (ie: making changes to the webform part of a node).

I believe the solution is to create the new revision as part of the node_save call inside of the "webform_components_form_submit" function (line 297) in includes/webform.components.inc.

Comments

quicksketch’s picture

This isn't really a bug, Webform doesn't have any ability to work with revisions at all. Even if you saved a new revision after every change to a component, all the revisions would be identical because Webform doesn't track components being added/removed by revision ID, it just uses the NID.

quicksketch’s picture

Status: Active » Closed (works as designed)