Feature #38273
closedImprove errors in MailHandler: add MissingContainer and LockedTopic exception
0%
Description
There are some cases for which the MailHandler drops incoming emails and just logs an info. This patch replaces this with a custom error to allow for plugins to more easily hook into those unhandled cases. This also unifies the logged message and the error handling in MailHandler.
Files
Related issues
Updated by Felix Schäfer over 2 years ago
- File 1-missing_container_error.patch 1-missing_container_error.patch added
- File 2-locked_topic_error.patch 2-locked_topic_error.patch added
The attached patch adds a custom generic Error for cases when the replied to object/the container object cannot be found, either because it was deleted or because the e-mail comes from another Redmine installation with different IDs. The second patch adds a custom Error for cases where the topic the e-mail answers to is locked.
Updated by Holger Just over 2 years ago
- Blocks Feature #38274: Receive e-mail replies to news and news comments added
Updated by Go MAEDA over 2 years ago
- Target version set to 5.1.0
Setting the target version to 5.1.0.
Updated by Go MAEDA over 2 years ago
- File 1-missing_container_error-v2.patch added
Updated the first patch to apply cleanly to the current trunk.
Updated by Go MAEDA over 2 years ago
Go MAEDA wrote:
Updated the first patch to apply cleanly to the current trunk.
I am withdrawing this patch. 1-missing_container_error.patch can be applied without problems if #38263 is applied.
Updated by Go MAEDA over 2 years ago
- File deleted (
1-missing_container_error-v2.patch)
Updated by Go MAEDA over 2 years ago
- Blocked by Feature #38263: Try importing journal replies as issue reply where applicable added
Updated by Go MAEDA over 2 years ago
- Subject changed from Improve errors in MailHandler to Improve errors in MailHandler: add MissingContainer and LockedTopic exception
- Status changed from New to Closed
- Assignee set to Go MAEDA
- Resolution set to Fixed
Committed the patches. Thank you.