Open ilieandriuta opened 4 years ago
STEPS TO REPRODUCE
Tested on XWiki 11.10.4.
EXPECTED RESULTS
No warnings are displayed.
ACTUAL RESULTS
In console, there are many warnings displayed related to deprecated usage of method, like:
2020-04-22 12:44:29,214 [http://localhost:1113/bin/view/ForumCode/Actions] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of method [org.xwiki.refactoring.script.RefactoringScriptService.createRenameRequest] in 58:xwiki:ForumCode.Actions@202,46 2020-04-22 12:44:29,215 [http://localhost:1113/bin/view/ForumCode/Actions] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of method [org.xwiki.refactoring.job.MoveRequest.setDeleteSource] in 58:xwiki:ForumCode.Actions@203,33 2020-04-22 12:44:53,757 [http://localhost:1113/bin/view/ForumCode/Actions] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of method [org.xwiki.refactoring.script.RefactoringScriptService.createRenameRequest] in 57:xwiki:ForumCode.Actions@202,46 2020-04-22 12:44:53,757 [http://localhost:1113/bin/view/ForumCode/Actions] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of method [org.xwiki.refactoring.job.MoveRequest.setDeleteSource] in 57:xwiki:ForumCode.Actions@203,33 2020-04-22 12:48:04,035 [http://localhost:1113/bin/view/ForumCode/Actions] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of method [org.xwiki.refactoring.script.RefactoringScriptService.createRenameRequest] in 64:xwiki:ForumCode.Actions@202,46 2020-04-22 12:48:04,035 [http://localhost:1113/bin/view/ForumCode/Actions] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of method [org.xwiki.refactoring.job.MoveRequest.setDeleteSource] in 64:xwiki:ForumCode.Actions@203,33 2020-04-22 12:48:10,604 [http://localhost:1113/bin/view/ForumCode/Actions] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of method [org.xwiki.refactoring.script.RefactoringScriptService.createRenameRequest] in 58:xwiki:ForumCode.Actions@202,46 2020-04-22 12:48:10,605 [http://localhost:1113/bin/view/ForumCode/Actions] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of method [org.xwiki.refactoring.job.MoveRequest.setDeleteSource] in 58:xwiki:ForumCode.Actions@203,33
Environment: Windows 10 Pro 64bit, Chrome 81, using an instance of XWiki 11.10.4 on PostgreSQL 12, Tomcat, Docker
Tested on XWiki 14.10.20 with Forum Application PRO 2.9.1: Deprecated errors found:
STEPS TO REPRODUCE
Tested on XWiki 11.10.4.
EXPECTED RESULTS
No warnings are displayed.
ACTUAL RESULTS
In console, there are many warnings displayed related to deprecated usage of method, like:
2020-04-22 12:44:29,214 [http://localhost:1113/bin/view/ForumCode/Actions] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of method [org.xwiki.refactoring.script.RefactoringScriptService.createRenameRequest] in 58:xwiki:ForumCode.Actions@202,46 2020-04-22 12:44:29,215 [http://localhost:1113/bin/view/ForumCode/Actions] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of method [org.xwiki.refactoring.job.MoveRequest.setDeleteSource] in 58:xwiki:ForumCode.Actions@203,33 2020-04-22 12:44:53,757 [http://localhost:1113/bin/view/ForumCode/Actions] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of method [org.xwiki.refactoring.script.RefactoringScriptService.createRenameRequest] in 57:xwiki:ForumCode.Actions@202,46 2020-04-22 12:44:53,757 [http://localhost:1113/bin/view/ForumCode/Actions] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of method [org.xwiki.refactoring.job.MoveRequest.setDeleteSource] in 57:xwiki:ForumCode.Actions@203,33 2020-04-22 12:48:04,035 [http://localhost:1113/bin/view/ForumCode/Actions] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of method [org.xwiki.refactoring.script.RefactoringScriptService.createRenameRequest] in 64:xwiki:ForumCode.Actions@202,46 2020-04-22 12:48:04,035 [http://localhost:1113/bin/view/ForumCode/Actions] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of method [org.xwiki.refactoring.job.MoveRequest.setDeleteSource] in 64:xwiki:ForumCode.Actions@203,33 2020-04-22 12:48:10,604 [http://localhost:1113/bin/view/ForumCode/Actions] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of method [org.xwiki.refactoring.script.RefactoringScriptService.createRenameRequest] in 58:xwiki:ForumCode.Actions@202,46 2020-04-22 12:48:10,605 [http://localhost:1113/bin/view/ForumCode/Actions] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of method [org.xwiki.refactoring.job.MoveRequest.setDeleteSource] in 58:xwiki:ForumCode.Actions@203,33
Environment: Windows 10 Pro 64bit, Chrome 81, using an instance of XWiki 11.10.4 on PostgreSQL 12, Tomcat, Docker