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

Fix generic types for the CompositeFieldFactory

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • 5.3
    • 5.3
    • forms
    • None

    Description

      Currently hard codes generic type to CompositeFieldDefinition in constructor, so it cannot be extended, and does not expose such definition typing correctly to subclasses (declares "new" standalone generic type extending FieldDefinition).

      Additionally, would be good to use interface type for FieldDefinition in AbstractCustomMultiField#createLocalField(...), so that we don't have to cast in subclasses without a reason to.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                mgeljic Mikaël Geljić
                mgeljic Mikaël Geljić
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD