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

FormSummaryParagraphModel tries to wrap node with I18nNodeWrapper twice and throws exception

    XMLWordPrintable

Details

    • Maintenance 48
    • 1

    Description

      Reproduce:
      Click trough book tour on travel demo and fill only required fields. While on summary step check consolle and you will see ftl error there.

      Caused by:
      createFormSummaryBean line 153 calls for field 01 findAndSetTemplateParameters. That wraps node with i18n wrapper and calls findAndSetComplexControlLabels on line 174. This method tries to wrap node again and that cause:
      "java.lang.IllegalArgumentException: node /travel/book-tour/main/0/fieldsets/0/fields/01 is already decorated by class info.magnolia.jcr.wrapper.I18nContentDecorator"

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                chuong.doan Chuong Doan Huy
                efochr Evzen Fochr
                Votes:
                2 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD

                    Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - Not Specified
                      Not Specified
                      Logged:
                      Time Spent - 1d 1h
                      1d 1h