Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-7284

Registry registers object even if it is not instance of the registry class

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • 5.6.5
    • None
    • None
    • None
    • Kromeriz 139, Kromeriz 140, Kromeriz 141, Kromeriz 142, Kromeriz 143
    • 5

    Description

      DialogDefinitionRegistry register object even if it is not instance of DialogDefinition and this can cause class cast exception for example while iterating through Collection<DefinitionProvider<T>> served by getAllProviders() in DialogDefinitionValidator. Exaple is /mtk/dialogs/components/linkSwitchableField.yaml

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                efochr Evzen Fochr
                efochr Evzen Fochr
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD