René Cordier created JAMES-3262:
-----------------------------------
Summary: Cannot run fix mailboxes inconsistencies task
Key: JAMES-3262
URL: https://issues.apache.org/jira/browse/JAMES-3262
Project: James Server
Issue Type: Bug
Reporter: René Cordier
Some user reported that when trying to run the fixing mailboxes inconsistencies
task
[https://github.com/apache/james-project/blob/master/src/site/markdown/server/manage-webadmin.md#fixing-mailboxes-inconsistencies]
They got this as a response:
{code:java}
{
"statusCode": 500,
"type": "ServerError",
"message": "WebAdmin encountered an unexpected internal error",
"details": null
}
{code}
A first investigation reveals that they might have forgotten to add the
`{{I-KNOW-WHAT-I-M-DOING}}` header, leading to a 500 response. However, we
should not return 500 in this case.
*DoD* :
* Reproduce the error with a unit test
* fix it: upon missing header we should return 400
* eventually rework the webadmin documentation to make it more clear that this
header is needed
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]