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

MCRObjectMetadata#mergeMetadata is not working correctly

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 2015.11
    • Fix Version/s: 2015.11
    • Component/s: None
    • Labels:
      None

      Description

      The mergeMetadata method has several bugs:
      -does not check against the schema, so its not guaranteed that the resulting metadata is valid
      -merging MCRMetaClassification is not working due equal check always returns true -> the check is made against the text() node, which is always empty in both elements. This does not only affect MCRMetaClassification but all other MCRMetaInterface classes which just have attributes and no text

        Attachments

          Activity

            People

            • Assignee:
              mcrmeich Matthias Eichner
              Reporter:
              mcrmeich Matthias Eichner
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: