There is 1 update, 2 comments.
 
 
XWiki Platform / cid:jira-generated-image-avatar-9a52d842-b171-4ce6-aaee-d36d5e14773e XWIKI-15538 Open

Long paths/documents can't be opened from the HTML Export on Windows

 
View issue   ยท   Add comment
 

1 update

 
cid:jira-generated-image-avatar-b5f87f8a-3c6d-41e8-9c94-17cb4e946477 Changes by Nikita Petrenko on 12/Aug/25 12:10
 
Attachment: W11Pro unzipped after PS command.png
 
 

2 comments

 
cid:jira-generated-image-avatar-b5f87f8a-3c6d-41e8-9c94-17cb4e946477 Nikita Petrenko on 12/Aug/25 12:10
 

This is not a product issue at all, as the comments point out, the built-in Windows (10 or 11 version) archiver in File Explorer has limitations. I've encountered this problem many times with unpacking old version of XWiki, and there are many solutions to this problem:

  • enable long path name (not only in system but also in Security Policy)
  • use PS (modern version of cmd) and use
    Expand-Archive C:\something\in\zip C:\unzip\it\here
  • or install 3rd party archiver as most of users of Windows OS suggests on forum with similar problem

For the record, I imported mnetioned XAR and exported it as HTML archive, then by using PS

PS C:\Users\Nikita> Expand-Archive 'C:\Users\Nikita\Downloads\Locomotives.WebHome.zip' C:\Users\Nikita\Downloads\temp

I have a temp folder with unzipped content.

I think I can share my inputs here by contributing to XWiki.org documentation, example HTML export page by creating troubleshooting heading

 
cid:jira-generated-image-avatar-b5f87f8a-3c6d-41e8-9c94-17cb4e946477 Nikita Petrenko on 12/Aug/25 12:11
 
This is not a product issue at all, as the comments point out, the built-in Windows (10 or 11 version) archiver in File Explorer has limitations. I've encountered this problem many times with unpacking old version of XWiki, and there are many solutions to this problem:

* enable long path name (not only in system but also in Security Policy)
* use PS (modern version of cmd) and use {code}Expand-Archive C:\something\in\zip C:\unzip\it\here{code}
* or install 3rd party archiver as most of users of Windows OS suggests on forum with similar problem

For the record, I imported mnetioned XAR and exported it as HTML archive, then by using PS

{code}PS C:\Users\Nikita> Expand-Archive 'C:\Users\Nikita\Downloads\Locomotives.WebHome.zip' C:\Users\Nikita\Downloads\temp{code}

I have a temp folder with unzipped content.

[^W11Pro unzipped after PS command.png]

I think I can share my inputs here by contributing to XWiki.org documentation, example [HTML export page|https://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/Features/Exports#HHTMLExport] by creating troubleshooting heading