This issue has been created
There is 1 comment.
 
 
Kanban Macro / cid:jira-generated-image-avatar-59cdf7e5-99f7-4833-b3d3-e664b89c9b4e KANBAN-17 Open

Replace deprectaed methods with relevant ones

 
View issue   ·   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-e7a8425f-a0b9-4475-b091-38d8d0e42999 Nikita Petrenko created this issue on 16/Feb/26 15:35
 
Summary: Replace deprectaed methods with relevant ones
Issue Type: cid:jira-generated-image-avatar-59cdf7e5-99f7-4833-b3d3-e664b89c9b4e Improvement
Affects Versions: 1.4.2
Assignee: Unassigned
Created: 16/Feb/26 15:35
Environment: Local Demo Jetty/HSQLDB XWiki 14.10
Priority: cid:jira-generated-image-static-minor-507e55de-e5c2-4d1d-bd85-29f6fd28b307 Minor
Reporter: Nikita Petrenko
Description:

On result to render Kanban with one existent task from TaskManager

2026-02-16 16:32:49,984 [qtp266272063-149 - http://localhost:8080/xwiki/bin/get/Sandbox/TestPage3?sheet=CKEditor.HTMLConverter&language=&formToken=DAQNLx91ksx11j7oY30Oyw] WARN  o.a.v.introspection            - Deprecated usage of getter [com.xpn.xwiki.api.Context.getLanguage] in xwiki:Macros.KanbanMacro@18,75 
2026-02-16 16:32:52,428 [qtp266272063-37 - http://localhost:8080/xwiki/bin/view/Sandbox/TestPage3?xpage=get&outputTitle=true&language=en&timestamp=1771252372417] WARN  o.a.v.introspection            - Deprecated usage of getter [com.xpn.xwiki.api.Context.getLanguage] in xwiki:Macros.KanbanMacro@18,75 
лют. 16, 2026 4:32:53 ПП com.google.javascript.jscomp.LoggerErrorManager println
WARNING: xwiki:Macros.KanbanMacro:30:11: WARNING - [JSC_BAD_JSDOC_ANNOTATION] Parse error. illegal use of unknown JSDoc tag "site"; ignoring it. Place another character before the @ to stop JSCompiler from parsing it as an annotation.
  30|          * @site: http://www.riccardotartaglia.it/jkanban/
                 ^

лют. 16, 2026 4:32:53 ПП com.google.javascript.jscomp.LoggerErrorManager printSummary
WARNING: 0 error(s), 1 warning(s)
2026-02-16 16:32:53,238 [qtp266272063-586 - http://localhost:8080/xwiki/bin/jsx/Macros/KanbanMacro?language=en] WARN  c.x.x.w.s.JsExtension          - Warning at line [30], column [11]: [Parse error. illegal use of unknown JSDoc tag "site"; ignoring it. Place another character before the @ to stop JSCompiler from parsing it as an annotation.] 
2026-02-16 16:32:53,260 [qtp266272063-239 - http://localhost:8080/xwiki/bin/get/Macros/KanbanAWMSource?xpage=plain&outputSyntax=plain&className=TaskManager.TaskManagerClass&category=status&displayedCategoryColumns=ToDo%2CInProgress%2CDone&title=name&columns=assignee%2Cprogress%2Cduedate&xwql=&colors=green%2Cblue%2Corange&order=&limit=20] WARN  o.a.v.introspection            - Deprecated usage of getter [com.xpn.xwiki.api.Util.getHashMap] in xwiki:Macros.KanbanAWMSource@98,30 
2026-02-16 16:32:53,277 [qtp266272063-239 - http://localhost:8080/xwiki/bin/get/Macros/KanbanAWMSource?xpage=plain&outputSyntax=plain&className=TaskManager.TaskManagerClass&category=status&displayedCategoryColumns=ToDo%2CInProgress%2CDone&title=name&columns=assignee%2Cprogress%2Cduedate&xwql=&colors=green%2Cblue%2Corange&order=&limit=20] WARN  o.a.v.introspection            - Deprecated usage of method [org.apache.velocity.tools.generic.ListTool.get] in xwiki:Macros.KanbanAWMSource@39,25 
2026-02-16 16:32:53,279 [qtp266272063-239 - http://localhost:8080/xwiki/bin/get/Macros/KanbanAWMSource?xpage=plain&outputSyntax=plain&className=TaskManager.TaskManagerClass&category=status&displayedCategoryColumns=ToDo%2CInProgress%2CDone&title=name&columns=assignee%2Cprogress%2Cduedate&xwql=&colors=green%2Cblue%2Corange&order=&limit=20] WARN  o.a.v.introspection            - Deprecated usage of method [org.apache.velocity.tools.generic.ListTool.get] in xwiki:Macros.KanbanAWMSource@39,25 
2026-02-16 16:32:53,281 [qtp266272063-239 - http://localhost:8080/xwiki/bin/get/Macros/KanbanAWMSource?xpage=plain&outputSyntax=plain&className=TaskManager.TaskManagerClass&category=status&displayedCategoryColumns=ToDo%2CInProgress%2CDone&title=name&columns=assignee%2Cprogress%2Cduedate&xwql=&colors=green%2Cblue%2Corange&order=&limit=20] WARN  o.a.v.introspection            - Deprecated usage of method [org.apache.velocity.tools.generic.ListTool.get] in xwiki:Macros.KanbanAWMSource@39,25 
 
 

1 comment

 
cid:jira-generated-image-avatar-e7a8425f-a0b9-4475-b091-38d8d0e42999 Nikita Petrenko on 16/Feb/26 15:37
 

Not sure why JS prints such warning

лют. 16, 2026 4:32:53 ПП com.google.javascript.jscomp.LoggerErrorManager println
WARNING: xwiki:Macros.KanbanMacro:30:11: WARNING - [JSC_BAD_JSDOC_ANNOTATION] Parse error. illegal use of unknown JSDoc tag "site"; ignoring it. Place another character before the @ to stop JSCompiler from parsing it as an annotation.
  30|          * @site: http://www.riccardotartaglia.it/jkanban/
                 ^

лют. 16, 2026 4:32:53 ПП com.google.javascript.jscomp.LoggerErrorManager printSummary
WARNING: 0 error(s), 1 warning(s)