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

Impossible to import custom xar containg pages with accent.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 1.8.1
    • Old Core
    • Windows 2000
    • custom xar
    • Unknown

    Description

      Hi everyone,

      After a few attempts, I've seen that is impossible to import a custom xar containing pages with accents. I've followed the procedure describe here and nothing works. It's not because of the program of compressing I use cause I've met no problems when my custom xar didn't caontain pages with accents.

      The error Tomcat is :

      java.lang.IllegalArgumentException
              at java.util.zip.ZipInputStream.getUTF8String(ZipInputStream.java:299)
              at java.util.zip.ZipInputStream.readLOC(ZipInputStream.java:238)
              at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:73)
              at com.xpn.xwiki.plugin.packaging.Package.Import(Package.java:377)
              at com.xpn.xwiki.plugin.packaging.PackageAPI.Import(PackageAPI.java:199)
      

      The problem is there ONLY with custom xar. Using the API Export/Import, so in order to do a whole backup, the problem doesn't appear. Once again, I've followed the official procedure in order to create my custom xar. Last thing, I'm using Windows environment.

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              hesediel Hesediel
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: