ml-app-deployer icon indicating copy to clipboard operation
ml-app-deployer copied to clipboard

Error deploying a database XML file with CMA

Open rjrudin opened this issue 5 years ago • 1 comments

Copied from https://github.com/marklogic-community/ml-gradle/issues/525 . Something in the set of Database Java classes isn't happy about that XML, need to figure out the issue and hopefully it's just a simple tweak to those classes so that the XML is unmarshalled correctly.

rjrudin avatar Dec 16 '19 19:12 rjrudin

Turns out this is an issue in the Manage API - when multiple values exist for a localname, the JSON representation expects an array of strings, while the XML representation expects a single string. Will file a bug with ML.

In the meantime, the workaround is to not use CMA when deploying databases via XML files that have such elements in them.

rjrudin avatar Dec 29 '19 22:12 rjrudin