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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 1.2 RC1
    • 1.1.1, 1.2 M1
    • {Unused} Core
    • None
    • versioning

    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

            slauriere slauriere
            slauriere slauriere
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: