open-formulieren / open-forms

Smart and dynamic forms
https://open-forms.readthedocs.io
Other
33 stars 25 forks source link

Import of legacy Objects API registration forms is not possible anymore #4516

Closed sergei-maertens closed 1 month ago

sergei-maertens commented 1 month ago

Version: 2.7.0

importing form with v1 Object Api registration causes error: "Er is iets foutgegaan bij het importeren van formulier: {'registration_backends': [{'options': {'objects_api_group': [ErrorDetail(string='Dit veld is vereist.', code='required')], 'objecttype': [ErrorDetail(string='Must be a valid UUID.', code='invalid')]}}"

I have an export of such a form provided by Laurens.

Culprit seems to be 4acd2f4

Viicos commented 1 month ago

https://github.com/open-formulieren/open-forms/pull/4343 did not take form imports into account (even though the PR template with checkboxes was present 🫣).