Uploaded image for project: 'JCR Tools'
  1. JCR Tools
  2. JCRTOOLS-64

Can't decorate Query app

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not an issue
    • Neutral
    • None
    • None
    • None
    • 6.2.29 DX Core

    Description

      Steps to reproduce

      1. Create a new light module
      2. Add decoration for my-light-module/decorations/jcr-tools/apps/jcr-tools.yaml
      3. Add a simple text field
      subApps:
        query:
          form:
            tabs:
              mainTab:
                fields:
                  text:
                    label: Text
                    $type: textField
                    # OR class: info.magnolia.ui.field.TextFieldDefinition

      Expected results

      Decoration works

      Actual results

      In java terminal and in Definitions App following error is visible:

      Element [info.magnolia.ui.field.TextFieldDefinition@3e1d0324] of type [info.magnolia.ui.field.TextFieldDefinition] may not be added to the collection of type [interface info.magnolia.ui.form.field.definition.FieldDefinition]

      Workaround

      Development notes

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              NDQ Mykola
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD