Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
ane-gabriela opened this issue Sep 22, 2023 · 2 comments · Fixed by #105
Closed

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

ane-gabriela opened this issue Sep 22, 2023 · 2 comments · Fixed by #105

Comments

@ane-gabriela
Copy link

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
Copy link
Author

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

@petrenkonikita112263
Copy link

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,

@ChiuchiuSorin ChiuchiuSorin self-assigned this Apr 22, 2024
ChiuchiuSorin added a commit to ChiuchiuSorin/application-filemanager that referenced this issue Apr 23, 2024
* replaced custom `escapeVelocity` macro with `$escapetool.velocity`
@ChiuchiuSorin ChiuchiuSorin added this to the 2.8 milestone Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

4 participants