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

Recursive include of the XWiki.ClassSheet on XWiki.Mail

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 9.4
    • Fix Version/s: 9.5-rc-1
    • Component/s: Mail
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      The old mail sender plugin is still being initialize and, as part of its initialization, it also initializes the XWiki.Mail class which is already handled by MailMandatoryDocumentInitializer. While doing so, it also sets a manual include in the content of the class document, which results in the recursive include of XWiki.ClassSheet.

      The fix is to remove the mail sender plugin's class initialization, however, we should also investigate why the sheet module fails to handle this case correctly, since this might be a backwards compatibility issue.

        Attachments

          Activity

            People

            • Assignee:
              enygma Eduard Moraru
              Reporter:
              enygma Eduard Moraru
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: