XWiki Platform
  1. XWiki Platform
  2. XWIKI-1833

A XAR import fires an error when xwiki is set to no versioning

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1.1, 1.2 M1
    • Fix Version/s: 1.2 RC1
    • Component/s: {Unused} Core
    • Labels:
      None
    • keywords:
      versioning
    • Similar issues:

      Description

      If xwiki is configured with no versioning (xwiki.store.versioning=0 in xwiki.cfg), the method "XWikiDocument.resetArchive(XWikiContext context)" that is called when importing a XAR fires a NullPointerException. I'll commit a line tomorrow checking that the versioningStore exists.

        Activity

        Hide
        Sergiu Dumitriu added a comment -

        Stephane, what's the status on this?

        Show
        Sergiu Dumitriu added a comment - Stephane, what's the status on this?
        Hide
        Stéphane Laurière added a comment -

        fixed in r6166 and r5634

        Show
        Stéphane Laurière added a comment - fixed in r6166 and r5634

          People

          • Assignee:
            Stéphane Laurière
            Reporter:
            Stéphane Laurière
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Date of First Response: