This issue has been created
 
 
Cristal / cid:jira-generated-image-avatar-2e5e8114-a812-42b7-b5e6-ad21c2e07996 CRISTAL-844 Open

Support non-JSON error messages in XWiki backend

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-7d98bf4c-4f8e-4797-b52e-1e562d0aa288 Pierre Jeanjean created this issue on 17/Aug/26 16:55
 
Summary: Support non-JSON error messages in XWiki backend
Issue Type: cid:jira-generated-image-avatar-2e5e8114-a812-42b7-b5e6-ad21c2e07996 Bug
Affects Versions: 1.0.0
Assignee: Unassigned
Components: Backend - XWiki
Created: 17/Aug/26 16:55
Priority: cid:jira-generated-image-static-major-3d9f4e8b-e16c-455e-a17f-643b43b1497e Major
Reporter: Pierre Jeanjean
Description:

When creating a page, the storage checks if the page exists or not in the backend with a GET request. Then, if there is a 404 error, it's expected to have a valid JSON body with it.

But some servers (e.g., Tomcat) might not support sending JSON errors.