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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 2.3 M1, 2.2.4
    • 2.2.3
    • Statistics, Storage
    • None
    • Unit
    • Unknown

    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

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

            Dates

              Created:
              Updated:
              Resolved: