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

Mail sent from a subwiki to multiple global users may not be sent to all recipients

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 8.1-rc-1, 7.4.4
    • 7.1.4, 8.0, 7.4.3, 8.1-milestone-2
    • Mail, Old Core
    • None
    • Unknown
    • N/A
    • N/A

    Description

      When sending mails using the new Mail API from a subwiki, the iteration over the recipient excludes the recipient from another wiki (the main wiki usually) if those users/groups are not already in the document cache.
      Those excluded users/groups are also badly loaded into the document cache, which could lead to other unexpected side effects (missing profile, unrecognized user, empty groups, ...)

      The cause to this issue is linked to the usage of an inappropriate XWikiContext while loading the user/group documents.

      Attachments

        Activity

          People

            softec Denis Gervalle
            softec Denis Gervalle
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: