-
Notifications
You must be signed in to change notification settings - Fork 31
Description
Description
The custom receipt is loaded via layout sets today, and requires that a data type has been set. It then loads the full <FormProvider>
which loads that data model. When using custom receipt together with autoDeleteOnProcessEnd: true
we cannot show that custom receipt (there is a warning about this that falls back to the default receipt in ProcessWrapper) after the referenced data type has been deleted (because loading <FormProvider>
would crash when the default data model is missing).
After #1484 is done, it might be easier to run FormProvider without a single/default data model, if we're able to load multiple data models on demand/when used. This should also mean that we can then add support for loading a custom receipt _without any default data model definedin
layout-sets.json` - as long as no components or text resources reference the data model that has been deleted.
Additional Information
Metadata
Metadata
Assignees
Labels
Type
Projects
Status