Issue 18685

Registry ws client calls wrong path when getting original metadata document

18685
Reporter: kbraak
Assignee: kbraak
Type: Bug
Summary: Registry ws client calls wrong path when getting original metadata document
Priority: Unassessed
Status: Open
Created: 2016-08-11 09:50:32.425
Updated: 2016-08-11 09:50:32.425
        
Description: Bug in registry ws client relates to following method:

getMetadataDocument(int metadataKey)

Currently it calls the following path:

/dataset/metadata/{ID}

However it should call:

/dataset/metadata/{ID}/document

This bug causes the method to return the wrong type of object (Metadata vs XML document).

]]>