Skip to content

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

@ilieandriuta

Description

@ilieandriuta

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions