MCRObjectMetadata#mergeMetadata is not working correctly

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

Environment

None

Assignee

Matthias Eichner

Reporter

Matthias Eichner

Labels

None

URL

None

External issue ID

None

Fix versions

Affects versions

Priority

Medium
Configure