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

Can't access a folder that was copied in another folder #80

Closed ane-gabriela closed 4 months ago

ane-gabriela commented 11 months ago

Steps to reproduce:

  1. Access the File Manager
  2. Right click and create 2 new folders
  3. Right click on one of the folders
  4. Select Copy
  5. Click on the other folder
  6. Right click and select Paste Into Folder
  7. Click on the arrow to see both folders

Expected results: The folder was copied to the new location and both folders can be seen and accessed.

Actual results: The copied folder doesn't appear, an error appears in the browser and in the wiki console.

ResultAfterPaste

In the wiki console: 2023-09-22 14:15:17,930 [qtp382750013-26 - http://localhost:8080/xwiki/bin/view/FileManager/] ERROR o.a.v.rendering - Left side ($paths.length) of comparison operation has null value at xwiki:FileManagerCode.RecentFilesPanel[line 5, column 21]

Environment: Windows 11, Chrome 117, XWiki 14.10.5, File Manager Application (Pro) 2.6

ane-gabriela commented 11 months ago

Same issue when cutting and pasting a folder in another one.

petrenkonikita112263 commented 10 months ago

The workaround for this issue (I've reproduced it also on 15.9 XWiki) - right click on the desired folder and select "Open in a new tab", then in new window a copied/pasted folder will be visible and accessible,