open-forms icon indicating copy to clipboard operation
open-forms copied to clipboard

In importing several forms which share (reuse) form definitions, a separate definition is made for each

Open hlmr-erik opened this issue 2 years ago • 10 comments

Product versie / Product version

1.5.0

Omschrijf het probleem / Describe the bug

When I export two forms, both sharing the form definition 'Step1' - and consquently import them in a new OpenForms environment - two separate form definitions called 'Step1' are created.

For example, these definitions called 'Uw gegevens' would be the same (and shared/reused) in the original environment - but appear separately up when ex- and then imported: image

Stappen om te reproduceren / Steps to reproduce

No response

Verwacht gedrag / Expected behavior

For OpenForms to recognise identical (reusable) form steps. This could be done by hash, in which case there is no chance of overwriting as the form definitions are guaranteed to be identical. Alternatively by ID; In case of recognising duplicate form steps by ID, the options could be offered to 'Keep both versions separately', 'Merge and keep version A' or 'Merge and keep version B'.

Screen resolution

No response

Device

No response

OS

No response

Browser

No response

hlmr-erik avatar Aug 22 '22 14:08 hlmr-erik