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

FormFieldModel fails if invoked via autogeneration

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • 2.7.4
    • 2.7.3
    • None

    Description

      Step to reproduce:

      1. Edit mtk2/templates/pages/basic.yaml
      2. Add to main area:
       autoGeneration:
        content:
          form:
            nodeType: mgnl:component
            templateId: form:components/formNumber
            title: test
            controlName: test
            validation: 
              class: java.util.ArrayList
              0: empty
              1: email
              2: number 
        generatorClass: info.magnolia.rendering.generator.CopyGenerator   
      1. Create a page with basic template
      2. Open page

      Expect result:

      Component is auto created successfully

      Actual result:

       

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                thien.quach Quach Hao Thien
                thien.quach Quach Hao Thien
                Nucleus
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD