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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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.

        Attachments

          Activity

            People

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

              Dates

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