Uploaded image for project: 'MyCoRe'
  1. MCR-1313

MCRClassificationMappingEventHandler does not support multiple Mappings

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 2016.06.0
    • Fix Version/s: 2016.12, 2016.06.0.1
    • Component/s: mycore-mods
    • Labels:
      None

      Description

      You can define multiple values in an x-mapping - label (seperated by space).
      In getMappings() the mappings are stored in a hashtable - so only the last mapping will be processed further.

      I would suggest a Set<MCRCategoryID> or Map<MCRCategoryID, Set<MCRCategoryID>> as return value of this method.

        Attachments

          Activity

            People

            • Assignee:
              mcrshofm Sebastian Hofmann
              Reporter:
              mcrsteph Robert Stephan
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: