XWiki Platform
  1. XWiki Platform
  2. XWIKI-1904

Lucene plugin IndexUpdater makes querry in wrong database in virtual mode

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2 M2
    • Fix Version/s: 1.2 RC1
    • Labels:
      None
    • Similar issues:

      Description

      In IndexUpdater.init, a new context is created for IndexUpdater but the main wiki name is not set in this context so in HSQLDB case "xwiki" is used in place of "PUBLIC".

        Activity

        Hide
        Thomas Mortagne added a comment -

        xwiki.getDatabase is not initialised at Lucene plugin init and make NullPointerException

        Show
        Thomas Mortagne added a comment - xwiki.getDatabase is not initialised at Lucene plugin init and make NullPointerException

          People

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

            Dates

            • Created:
              Updated:
              Resolved: