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

Rendering errors in console after adding files #56

Open
ilieandriuta opened this issue Jun 2, 2022 · 1 comment
Open

Rendering errors in console after adding files #56

ilieandriuta opened this issue Jun 2, 2022 · 1 comment

Comments

@ilieandriuta
Copy link

Environment: Windows 11 Pro 64bit, Chrome 102 using a local instance of XWiki 14.4 on Oracle 19c, Tomcat 9.0.63, Java 17 (Oracle) , File Manager Application (Pro) 2.5.4

STEPS TO REPRODUCE

  1. Go to File Manager Application (Pro) home page
  2. Right click on File Manager > New File
  3. Upload a file
  4. (Optional) Refresh the page
  5. Observe the XWiki console

EXPECTED RESULTS
No warnings/ errors are displayed.

ACTUAL RESULTS
After a file is added (tested with an image and a .txt file), there are some errors in console:

2022-06-02 16:29:46,687 [http-nio-1115-exec-8 - http://localhost:1115/xwiki/bin/download/FileManager/WebHome/image-2019-04-11-14-18-52-418.png?width=512] ERROR o.a.v.rendering                - Left side ($paths.length) of comparison operation has null value at xwiki:FileManagerCode.RecentFilesPanel[line 5, column 21]
2022-06-02 16:29:46,693 [http-nio-1115-exec-8 - http://localhost:1115/xwiki/bin/download/FileManager/WebHome/image-2019-04-11-14-18-52-418.png?width=512] ERROR o.a.v.rendering                - Left side ($paths.length) of comparison operation has null value at xwiki:FileManagerCode.RecentFilesPanel[line 5, column 21]
2022-06-02 16:29:52,732 [http-nio-1115-exec-1 - http://localhost:1115/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]
2022-06-02 16:29:52,738 [http-nio-1115-exec-1 - http://localhost:1115/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]

The errors keep occurring after each page refresh.

The issue reproduces also on XWiki 13.10.6 (Jetty/HSQLDB) using File Manager Application (Pro) 2.5.4.

@ilieandriuta ilieandriuta added this to the 2.5.5 milestone Jun 2, 2022
@slauriere slauriere modified the milestones: 2.5.5, 2.5.6 Oct 5, 2022
@oanalavinia oanalavinia modified the milestones: 2.6.1, 2.6.2 Nov 15, 2023
@oanalavinia oanalavinia removed this from the 2.6.2 milestone Feb 9, 2024
@ilieandriuta
Copy link
Author

ilieandriuta commented Jul 2, 2024

Issue reproduced too on XWiki 16.4.0 (Tomcat 9.0.89/PostgreSQL 16) using File Manager Pro 2.8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants