xwikisas / application-forum

Forum Application (Pro)
GNU Lesser General Public License v3.0
0 stars 5 forks source link

Warnings for deprecated usage of method when using Forum Pro #90

Open ilieandriuta opened 4 years ago

ilieandriuta commented 4 years ago

STEPS TO REPRODUCE

Tested on XWiki 11.10.4.

  1. Create a new forum
  2. Create a topic
  3. Add an answer

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

ndascalita commented 9 months ago

Tested on XWiki 14.10.20 with Forum Application PRO 2.9.1: Deprecated errors found:

  1. jquery-migrate.min.js?r=1:2 JQMIGRATE: jQuery.fn.click() event shorthand is deprecated
  2. JQMIGRATE: jQuery.isFunction() is deprecated
  3. JQMIGRATE: jQuery.isArray is deprecated; use Array.isArray
  4. jquery-migrate.min.js?r=1:2 JQMIGRATE: jQuery.trim is deprecated; use String.prototype.trim