-
Bug
-
Resolution: Done
-
Medium
-
Kohn Release
-
None
When attempting to perform Patch operation across data trees, the following response is currently returned
{ "status": "500 INTERNAL_SERVER_ERROR", "message": "could not execute statement; SQL [n/a]; nested exception is org.hibernate.exception.DataException: could not execute statement", "details": "Check logs for details." }
This does not give much information regarding the actual issue and needs to be more specific.
A/C:
When updating more than one data node:
- Return a 400 response code
- Along with this a descriptive message should be returned as well
Resolution:
When trying to update multiple data nodes at once:
- A 400 Bad Request Response is returned and DataValidationException is thrown.
- Appropriate response message is also provided.