When adding a new document version, the different form fields (title, legal body text, acceptance label) have to be entered again.
However for our use case (and I think most use cases), it is desired that a new version of a legal document starts from the current published version. This will avoid unwanted inconsistencies between versions.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

svendecabooter created an issue. See original summary.

svendecabooter’s picture

Status: Needs review » Needs work

The last submitted patch, 2: prefill_form_when-2851240-2.patch, failed testing.

svendecabooter’s picture

Status: Needs work » Needs review

Failing testbot seems caused by #2789031: [URL] token doesn't exist, not this patch.

claudiu.cristea’s picture

Version: 8.x-2.x-dev » 4.0.x-dev
Issue tags: +Needs tests

This looks like a useful feature. Moving to 4.0.x. Still needs tests.

Rob230’s picture

Status: Needs review » Closed (outdated)
Issue tags: -Needs tests

Thanks for the patch. This exact code was added as part of #2752411: Legal not fully translatable so this issue is no longer needed.