xwikisas/application-filemanager

User can not download an archive of subfolder with or without files

Closed this issue · 5 comments

Environment: XWiki 15.9, latest version of web-browser clients MS Edge, Google Chrome, Firefox. OS - W10.

Prerequisites:

  • XWiki instance 15.x.
  • Latest version of File Manager (Pro).
  • Trial license

Step to reproduce:

  1. Create a similar folder structure that on the screenshot below (naming doesn't matter)

image

  1. Upload any file to at least one subfolder, for instance, XWiki folder
  2. Right-click on XWiki folder → Download

Actual result:
You will notice that zip archive with name XWiki.zip was formed, and its size 0 bytes, but you'll automatically forward into an empty page with URL http://localhost/xwiki/bin/get/FileManager/Download-Admin-XWiki.
Press CTRL + ← if you're on Windows or similar command on Linux in order to return to previous page in tab.
In console or dev tools, there's no error.

Expected result:
After zip archive is finished, it will automatically be downloaded by the web-browser client. As it happens with the root folder.

GIF of recorded action from Firefox

firefox_HEJ4wB4MOv

Furthermore, the created page but not downloaded zip can be seen and reachable from breadcrumb menu, by navigating to the page

image

image

I tested the issue on XWiki version 14.10 and 15.9 and it does not reproduce.

@ChiuchiuSorin thanks for confirmation on issue status on 14.10. But currently minimal parent version is still 13.10. I'll check on my end on 14.10 and 15.9 once more in following days. But I propose to leave it open until parent won't be updated to 14.10.

I think it's ok to leave it closed while the issue cannot be reproduced in the versions you mentioned, and to open it if it will be reported again or if you find that the issue persists. WDYT?

Indeed, I can't reproduce it anymore on FM (Pro) 2.7 on 15.9 XWiki