Uploaded image for project: 'Content Types'
  1. Content Types
  2. MGNLCT-165

Type without properties results in un-extendable app

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 1.1.1
    • None

    Description

      Magnolia supports extending content apps generated from content types. However, if I create a type with no properties, intending to set all properties via a manually configured app, my derived app has a details subapp of type ConfiguredSubAppDescriptor rather than DetailDescriptor.

      As the ConfiguredAubAppDescriptor has no method setForm(), my app config cannot add a form and the definitions app shows the warning:

      Property [form] not found in class [info.magnolia.ui.api.app.registry.ConfiguredSubAppDescriptor], property is not assigned

      And the resulting app offers no "Add item" or "Edit item" methods.

      Checklists

        Acceptance criteria

        Attachments

          1. app_with_no_add_action.png
            app_with_no_add_action.png
            437 kB
          2. app.yaml
            0.1 kB
          3. type.yaml
            0.1 kB

          Activity

            People

              Unassigned Unassigned
              chris.jennings Chris Jennings
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Checklists

                  Bug DoR
                  Task DoD