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

Exporting a form from 'test' and importing on 'acceptance' leads to invalid URLs to informatieobjecttypes

Open alextreme opened this issue 9 months ago • 4 comments

Thema / Theme

Admin

Omschrijving / Description

Discussed with Laurens. When exporting a form in OF and importing it in another environment, the URL references to informatieobjecttypes still point to the test environment. This leads to forms that don't work after importing them.

(I'm limiting the scope of this issue on purpose to only IOTs, as certain OF DH forms have dozens of IOT references)

There are a number of ways how we can improve this, some suggestions:

  • Ensuring that when importing a form, that the admin can see and modify the imported IOT URLs
  • Ensuring that there's a page to check (GET) the IOTs configured for the form and show the URLs
  • Ability to configure test/acc/prod configuration within the form (suggestion Laurens)

This has been discussed between Laurens and Joeri earlier, I'm attempting to broaden the discussion and see what's possible with a more limited scope

Tasks

  • [ ] Make sure import/export uses natural keys (problem identified: we store primary keys for object api/zgw api groups, service fetch)
  • [ ] MORE

alextreme avatar May 27 '24 09:05 alextreme