xwikisas / application-filemanager

XWiki application to manage a hierarchy of folders and files
GNU Lesser General Public License v2.1
0 stars 4 forks source link

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

Closed petrenkonikita112263 closed 7 months ago

petrenkonikita112263 commented 10 months ago

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

Prerequisites:

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

petrenkonikita112263 commented 10 months ago

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

image

image

ChiuchiuSorin commented 7 months ago

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

petrenkonikita112263 commented 7 months ago

@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.

ChiuchiuSorin commented 7 months ago

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?

petrenkonikita112263 commented 6 months ago

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