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

When starting a wiki on a sub wiki page, main wiki main page is broken by statistics module

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.2.3
    • Fix Version/s: 2.3 M1, 2.2.4
    • Component/s: Statistics, Storage
    • Labels:
      None
    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      There is two issue:

      • when the class reference is null in a BaseObject, getXClass return class on Main.WebHome document
      • there is a desynchronization of xcontext and ExectionContext xcontext in statistics module that makes loading sub wiki main page as main wiki main page in the cache storage

      To reproduce:

      • enable statistics
      • start xwiki
      • go to a subwiki page
      • go to main wiki main page -> it's the subwiki main page

        Attachments

          Activity

            People

            • Assignee:
              tmortagne Thomas Mortagne
              Reporter:
              tmortagne Thomas Mortagne
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: