marklogic-community / demo-cat

An application to help SEs find good demos and record bugs and RFEs on them. AngularJS talks to the MarkLogic database via the REST API.
Other
11 stars 17 forks source link

Error submitting comment #278

Closed dmcassel closed 7 years ago

dmcassel commented 7 years ago

I tried to submit a comment on a demo detail page. I got this error visible in the browser console:

{"errorResponse":{"statusCode":500, "status":"Internal Server Error", "messageCode":"INTERNAL ERROR", "message":"XDMP-AS: (err:XPTY0004) let $recipient-names as xs:string := for $recipient in $recipients return ($recipient/jbasic:name, \"Vanguard\")[1] -- Invalid coercion: (\"Vanguard\", \"Vanguard\") as xs:string . See the MarkLogic server error log for further detail."}}

For debugging:

request payload:

{"msg":"Is this multi-tenant?","id":null,"username":null,"dateTime":null}

Browser: Chrome Version 55.0.2883.95 (64-bit)

From the response: Date:Thu, 09 Feb 2017 15:39:41 GMT

grtjn commented 7 years ago

Fixed in dev..

grtjn commented 7 years ago

Took a while, but finally deployed to server..