Details
-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
1.8.1
-
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
- duplicates
-
XWIKI-6863 Platform encoding used when decoding filenames of zip entries during XAR import.
- Closed