Details
-
Bug
-
Resolution: Unresolved
-
Neutral
-
None
-
2.5.2
-
None
Description
The issue comes up when the child subpage has rendering errors, for instance, in the example attached, the related template no longer exists.
Steps to reproduce:
1. Import the attached content into pages app.
2. Configure Mail module to be able to send emails
3. open rootPage and try to send the form.
4. Error related to broken:
info.magnolia.config.registry.Registry$NoSuchDefinitionException: mtk:components/old-non-existing-template info.magnolia.config.registry.AbstractRegistry.getProvider(AbstractRegistry.java:127) info.magnolia.module.form.templates.components.multistep.NavigationUtils.isParagraphOfType(NavigationUtils.java:119) info.magnolia.module.form.templates.components.multistep.NavigationUtils.findParagraphOfType(NavigationUtils.java:102) info.magnolia.module.form.templates.components.multistep.NavigationUtils.findParagraphOfType(NavigationUtils.java:105) info.magnolia.module.form.templates.components.multistep.NavigationUtils.findFirstPageWithParagraphOfType(NavigationUtils.java:85)info.magnolia.module.form.templates.components.multistep.StartStepFormEngine.getNextPage(StartStepFormEngine.java:126)info.magnolia.module.form.engine.FormEngine.getValidationSuccessfulView(FormEngine.java:292) info.magnolia.module.form.engine.FormEngine.processSubmission(FormEngine.java:224) info.magnolia.module.form.engine.FormEngine.handleRequest(FormEngine.java:151)
Current behaviour:
An error 500 comes up.
Expected behaviour
Since the page is not referenced anywhere in the form, no errors should be thrown.
Workaround
Fixing subpage error
Checklists
Acceptance criteria