Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-4746

Dialog UI omits form fields using the fieldType property

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 6.0
    • 6.0
    • None
    • None

      In dialogs, form fields defining the property fieldType are not rendered.

      :^(

      In Definitions app these field definition are listed as major problem.
      However, the dialog renders all other fields using the class property and the item can be saved.

      To reproduce

      • Follow Hello Magnolia or
      • do CLI mgnl create-page dau-page
        and edit the dialog replacing some class with fieldType properties., e.g.
      fields:
        - name: title
          #class: info.magnolia.ui.form.field.definition.TextFieldDefinition
          fieldType: text

       
      Referencing field types by name has been introduced with M.-5.7 (and works on 5.7.1 too), but with 6.0-SNAPSHOT such fields are not displayed.
      This is a regression.
       
      Work around:
      Avoid using the fieldType property. 

        Acceptance criteria

              hieu.nguyen Hieu Nguyen Duc
              cmeier Christoph Meier
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD

                    Estimated:
                    Original Estimate - 3d Original Estimate - 3d
                    3d
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 4d
                    4d