-
Type: User story
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 6.0
-
Component/s: Automation, WebEngine
-
Epic Link:
-
Tags:
-
Sprint:Sprint Vlad 5.9.5-4
-
Story Points:5
The goal is to unify exception handling into WebEngine org.nuxeo.ecm.webengine.WebException. The best is to move org.nuxeo.ecm.automation.jaxrs.ExceptionHandler logic into WebException.
Then remove org.nuxeo.ecm.automation.jaxrs.ExceptionHandler and replace related calls.
For information:
WebException response type is plain text.
ExceptionHandler response type is application/json (nxentity)
This last one is written by org.nuxeo.ecm.automation.jaxrs.io.JsonExceptionWriter
- depends on
-
NXP-12493 Automation batch execution returns HTTP 500 instead of 403 in case of a DocumentSecurityException
- Resolved