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

Clone the ExecutionContext when the mail message is added to the prepare queue

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 7.1-milestone-2, 6.4.5
    • 7.1-milestone-1
    • Mail
    • None
    • Unit
    • Unknown
    • N/A

    Description

      Currently, there are some issues with the implementation done in XWIKI-12058 (which were kind of present even before). The problem is that the execution context needs to be cloned as soon as possible, or we risk having the thread that added an item to the mail process queue terminate before the processing has the chance to execute, thus invalidating the execution context (and the ServletRequest).

      Attachments

        Issue Links

          Activity

            People

              enygma Eduard Moraru
              enygma Eduard Moraru
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: