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

Impossible to import custom xar containg pages with accent.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 1.8.1
    • Fix Version/s: None
    • Component/s: Old Core
    • Labels:
    • Environment:
      Windows 2000
    • keywords:
      custom xar
    • Difficulty:
      Unknown
    • Similar issues:

      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

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

                Dates

                Created:
                Updated:
                Resolved: