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

FormFieldModel fails if invoked via autogeneration

XMLWordPrintable

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

      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:

       

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD