You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "René Cordier (Jira)" <se...@james.apache.org> on 2020/06/22 02:54:00 UTC
[jira] [Created] (JAMES-3262) Cannot run fix mailboxes
inconsistencies task
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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org