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

i18n: Collected form configNodes are not i18n aware in MultiStepForm component -> required&confirmation text is not returned i18nized.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • 1.4.x, 2.2.x
    • 1.4.9, 2.0.2, 2.2.1
    • i18n

      Behavior:
      When defining a required and confirmation text in different languages, it works fine on the form component, but not on the formStep component.

      Reason:
      The form.ftl gets the required text from the model class.
      The FormModel "allocates" the StartStepFormEngine with the 'content' node. The 'content' node is i18n wrapped be the renderer.

      The SubStepFormModel "allocates" the SubStepFormEngine and gets the component nodes by this helper method:
      info.magnolia.module.form.templates.components.multistep.NavigationUtils.findParagraphOfType(Node, Class<?>)

      This method does not wrap the found nodes with the i18nNodeWrapper (see patch).

        Acceptance criteria

              Unassigned Unassigned
              cringele Christian Ringele
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD