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

The import of a XAR package in a new subwiki fails sometimes in Jetty

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • None
    • 10.9
    • Old Core
    • None
    • Windows 10 Pro 64 bit, IE11, Chrome 70, Firefox 63, Edge 17, using a local instance XWiki 10.9 on Oracle 11.2
    • Unknown
    • N/A
    • N/A

    Description

      STEPS TO REPRODUCE

      1. Login as Admin
      2. Install some extensions, create some pages
      3. Go to Administer Wiki > Content > Export
      4. Click 'Export' and save the XAR package
      5. Create an empty subwiki
      6. On the subwiki, go to Administer Wiki > Content > Import
      7. Import the previously exported XAR package

      EXPECTED RESULTS

      The XAR package is imported properly into the new subwiki.

      ACTUAL RESULTS

      There are times when the exported .xar cannot be imported in a new subwiki due to the following error: 

       2018-11-02 15:53:03.387:WARN:oejs.HttpChannel:qtp662441761-16: /xwiki/wiki/subwikiadmin/import/XWiki/XWikiPreferences org.eclipse.jetty.http.BadMessageException: 400: Unable to parse form content 

      So far, I could not reproduce this error consistently. Last time I reproduced it on Oracle DB.

      Attachments

        1. XAR_Import_Failed.jpg
          150 kB
          Ilie Andriuta
        2. XWiki.XWikiPreferences.xar.zip.001
          8.00 MB
          Ilie Andriuta
        3. XWiki.XWikiPreferences.xar.zip.002
          5.05 MB
          Ilie Andriuta

        Issue Links

          Activity

            People

              surli Simon Urli
              iandriuta Ilie Andriuta
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: