mlxprs icon indicating copy to clipboard operation
mlxprs copied to clipboard

documentsDb does not correctly default to app server settings when left empty

Open bshalke opened this issue 2 years ago • 1 comments

The documentsDb setting should default to whatever is configured on the app server if left blank. However, this error occurs instead:

{
  "message": "eval XQuery on server: cannot process response with 500 status",
  "statusCode": 500,
  "body": {
    "errorResponse": {
      "statusCode": 500,
      "status": "Internal Server Error",
      "messageCode": "INTERNAL ERROR",
      "message": "XDMP-RWEMPTY: The value of expression '$0' is required to be non-empty in rule: set-database . See the MarkLogic server error log for further detail."
    }
  }
}

bshalke avatar Nov 11 '22 06:11 bshalke

@bshalke I'll take a shot at this as a brief learning experience on how the plugin works.

@anu3990 I may ping you about Node Client stuff since I haven't used that yet!

rjrudin avatar Nov 11 '22 20:11 rjrudin

Addressed in 3.6.0 release

mitchshepherd avatar Mar 30 '23 21:03 mitchshepherd