Uploaded image for project: 'Magnolia Form Module'
  1. Magnolia Form Module
  2. MGNLFORM-327

Simple form depends on subchild even when it is not configured in the form

    XMLWordPrintable

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

        Attachments

          Activity

            People

              Unassigned Unassigned
              miruela Mercedes Iruela
              AuthorX
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Checklists

                  Bug DoR
                  Task DoD