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

Warnings for deprecated usage of method when using File Manager Pro #33

Closed
ilieandriuta opened this issue Jul 17, 2020 · 0 comments
Closed
Assignees
Milestone

Comments

@ilieandriuta
Copy link

STEPS TO REPRODUCE

Tested on XWiki 12.5.1.

  1. Go to File Manager from Applications Panel
  2. Go to File Manager area
  3. Right click on File Manager
  4. Add a New Folder
  5. Rename the created folder

EXPECTED RESULTS

No warnings are displayed.

ACTUAL RESULTS

In console, there are many warnings displayed related to deprecated usage of method, like:

2020-07-17 12:20:36,430 [http-nio-1115-exec-6 - http://localhost:1115/xwiki/bin/get/FileManager/WebHome?sheet=FileManagerCode.DriveTree&outputSyntax=plain&data=children&id=WebHome] WARN o.a.v.introspection - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:FileManagerCode.DriveTree@49,41 2020-07-17 12:20:36,556 [http-nio-1115-exec-1 - http://localhost:1115/xwiki/bin/get/FileManager/WebHome?data=allFiles&limit=15&offset=0&outputSyntax=plain&sort=name] WARN o.a.v.introspection - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:FileManagerCode.DriveSheet@269,27 2020-07-17 12:20:37,648 [http-nio-1115-exec-7 - http://localhost:1115/xwiki/bin/get/FileManager/WebHome?data=files&limit=15&offset=0&outputSyntax=plain&sort=name] WARN o.a.v.introspection - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:FileManagerCode.DriveSheet@269,27 2020-07-17 12:20:43,533 [http-nio-1115-exec-5 - http://localhost:1115/xwiki/bin/get/FileManager/WebHome?sheet=FileManagerCode.DriveTree&outputSyntax=plain&data=children&id=WebHome] WARN o.a.v.introspection - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:FileManagerCode.DriveTree@49,41 2020-07-17 12:20:58,553 [http-nio-1115-exec-7 - http://localhost:1115/xwiki/bin/get/FileManager/Folder1ad?data=files&limit=15&offset=0&outputSyntax=plain&sort=name] WARN o.a.v.introspection - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:FileManagerCode.FolderSheet@269,27 2020-07-17 12:21:03,383 [http-nio-1115-exec-8 - http://localhost:1115/xwiki/bin/get/FileManager/Folder1ad?action=move&outputSyntax=plain] WARN o.a.v.introspection - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in xwiki:FileManagerCode.FolderSheet@41,43 2020-07-17 12:21:05,324 [http-nio-1115-exec-3 - http://localhost:1115/xwiki/bin/get/FileManager/WebHome?sheet=FileManagerCode.DriveTree&outputSyntax=plain&data=children&id=WebHome] WARN o.a.v.introspection - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:FileManagerCode.DriveTree@49,41 2020-07-17 12:27:10,422 [http-nio-1115-exec-6 - http://localhost:1115/xwiki/bin/get/FileManager/WebHome?data=files&limit=15&offset=0&outputSyntax=plain&sort=name] WARN o.a.v.introspection - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:FileManagerCode.DriveSheet@269,27 2020-07-17 12:27:35,810 [http-nio-1115-exec-10 - http://localhost:1115/xwiki/bin/view/FileManager/] WARN o.a.v.introspection - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:FileManagerCode.RecentFilesPanel@16,30 2020-07-17 12:27:57,836 [http-nio-1115-exec-1 - http://localhost:1115/xwiki/bin/view/FileManager/] WARN o.a.v.introspection - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:FileManagerCode.RecentFilesPanel@16,30 2020-07-17 12:27:58,238 [http-nio-1115-exec-4 - http://localhost:1115/xwiki/bin/get/FileManager/WebHome?sheet=FileManagerCode.DriveTree&outputSyntax=plain&data=children&id=WebHome] WARN o.a.v.introspection - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:FileManagerCode.DriveTree@49,41 2020-07-17 12:27:58,387 [http-nio-1115-exec-6 - http://localhost:1115/xwiki/bin/get/FileManager/WebHome?data=allFiles&limit=15&offset=0&outputSyntax=plain&sort=name] WARN o.a.v.introspection - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:FileManagerCode.DriveSheet@269,27 2020-07-17 12:27:59,810 [http-nio-1115-exec-1 - http://localhost:1115/xwiki/bin/get/FileManager/WebHome?data=files&limit=15&offset=0&outputSyntax=plain&sort=name] WARN o.a.v.introspection - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:FileManagerCode.DriveSheet@269,27 2020-07-17 12:28:07,646 [http-nio-1115-exec-10 - http://localhost:1115/xwiki/bin/get/FileManager/WebHome?sheet=FileManagerCode.DriveTree&outputSyntax=plain&data=children&id=WebHome] WARN o.a.v.introspection - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:FileManagerCode.DriveTree@49,41 2020-07-17 12:28:09,251 [http-nio-1115-exec-6 - http://localhost:1115/xwiki/bin/get/FileManager/Folder%202us?data=files&limit=15&offset=0&outputSyntax=plain&sort=name] WARN o.a.v.introspection - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:FileManagerCode.FolderSheet@269,27 2020-07-17 12:28:14,530 [http-nio-1115-exec-7 - http://localhost:1115/xwiki/bin/get/FileManager/Folder%202us?action=move&outputSyntax=plain] WARN o.a.v.introspection - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in xwiki:FileManagerCode.FolderSheet@41,43 2020-07-17 12:28:15,637 [http-nio-1115-exec-3 - http://localhost:1115/xwiki/bin/get/FileManager/WebHome?sheet=FileManagerCode.DriveTree&outputSyntax=plain&data=children&id=WebHome] WARN o.a.v.introspection - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:FileManagerCode.DriveTree@49,41

Environment: Windows 10 Pro 64bit, Firefox 78, using a local instance of XWiki 12.5.1 on PostgreSQL 12, Tomcat 9.0.36

@ilieandriuta ilieandriuta added this to the 2.3 milestone Jul 17, 2020
@mflorea mflorea modified the milestones: 2.3, 2.4 Oct 28, 2020
@acotiuga acotiuga self-assigned this Nov 17, 2020
@acotiuga acotiuga modified the milestones: 2.4, 2.3.1 Nov 17, 2020
@oanalavinia oanalavinia modified the milestones: 2.3.1, 2.4 Feb 3, 2021
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

4 participants