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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD

                    Time Tracking

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