Create notification upon IMip message processing failure#12552
Create notification upon IMip message processing failure#12552Juniar-Rakhman wants to merge 1 commit intonextcloud:mainfrom
Conversation
fixup fixup fixup fixup
|
Thanks for opening your first pull request in this repository! ✌️ |
|
Here the notification is shown to the user.
When clicked, it will redirect the user to the failed email message.
For Users that do not use Nextcloud web, they might missed the notification, but they should receive the email about unread notifications after 1 hour (configurable). Current setup is not so ideal as most IMip messages are time sensitive and most of our users do not use Nextcloud web. I would prefer to be able to configure the notification like in the "activity" notification: Probably a settings called "IMip Processing Failure" under "Other activities" @ChristophWurst I could use your guidance here. I'm not sure if I should pursue further changes on Activity notification, and if so where do I start? |




This is a follow up PR based on feedback on the original PR.
This is a follow up changes to a patch done for:
#10811
The patch to address above issue fixes the processing flow of iMip message processing. When a failure occurs, the batch job logs the error and continues processing the next iMIP message instead of failing the entire job.
Issue:
Although the patch resolves the processing problem, failures occur silently from the user’s perspective. The user is not informed when an iMIP message fails to process and therefore cannot take corrective action.
Solution:
Created a notification upon iMIP messaging failure that will be sent to message owner (account's email).
Added the following changes: