Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-12110

Only discard success mail statuses when the preparation is over

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 6.4
    • Fix Version/s: None
    • Component/s: Mail
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      Right now the mail.sender.database.discardSuccessStatuses config property imply that success statuses are never saved in the DB.

      We should change that by:

      • saving them in the Db during the prepare phase
      • discard them only if the prepare phase has finished successfully

      This is required to implement XWIKI-11652 since we need to exclude all recipients who have successfully received the mail whenever there's an error in the prepare phase.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                vmassol Vincent Massol
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: