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

When using DefinitionMetadataBuilder.NameMetadataBuilder() registry API doesn't handle same-name-definitions appropriately

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 5.4.6
    • 5.4.5
    • configuration
    • None
    • Kromeriz 38
    • 3

      When using info.magnolia.config.registry.DefinitionMetadataBuilder.NameMetadataBuilder as identification-strategy of items in a registry, it is possible to add more than one element with the same name without getting any errors.

      When using names-as-ids, it should be possible to add only one definition with that particular name.

        Acceptance criteria

              rkovarik Roman Kovařík
              pmundt Philip Mundt
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 0.5d
                    0.5d