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

Fix generic types for the CompositeFieldFactory

XMLWordPrintable

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

      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.

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD