Skip to content

Warnings for deprecated usage of method when using Calendar Pro #57

Description

@ilieandriuta

STEPS TO REPRODUCE

Environment: Windows 10 Pro 64bit, Chrome 87, using an instance of XWiki 12.10.2 on PostgreSQL 13, Tomcat 9.0.41

While using Calendar Pro 2.9.2, in XWiki console there are many warnings displayed related to deprecated usage of method, like:

2021-01-19 12:14:58,119 [http-nio-1115-exec-8 - http://localhost:1115/xwiki/bin/get/MoccaCalendar/UpdateService?xpage=plain&outputSyntax=plain&calendarDoc=MoccaCalendar.Events&page=xwiki%3AMoccaCalendar.Te-st-ed-There-are-5-French-accents-the-cedille-C-the-accent-aigu-e-the-accent-circonflexe-a-e-i-o-u-the-accent-grave-a-e-u-and-the-accent-trema-e-i-u-The-umlaut-a-e-i-o-u-is-the-only-accent-used-in-German-writing.Event1.WebHome&isResize=0&delta=-86400000&startDate=2021-01-18T12:10:00&endDate=2021-01-18T12:30:00&allDay=] WARN o.a.v.introspection - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:MoccaCalendar.UpdateService@15,25 2021-01-19 12:17:23,485 [http-nio-1115-exec-7 - http://localhost:1115/xwiki/bin/get/MoccaCalendar/UpdateService?xpage=plain&outputSyntax=plain&calendarDoc=MoccaCalendar.Calendar2-us.WebHome&page=xwiki%3AMoccaCalendar.Calendar2-us.Event2.WebHome&isResize=0&delta=172800000&startDate=2021-01-20T10:00:00&endDate=2021-01-20T10:30:00&allDay=] WARN o.a.v.introspection - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:MoccaCalendar.UpdateService@15,25 2021-01-19 12:18:00,067 [http-nio-1115-exec-10 - http://localhost:1115/xwiki/bin/get/MoccaCalendar/UpdateService?xpage=plain&outputSyntax=plain&calendarDoc=MoccaCalendar.Calendar2-us.WebHome&page=xwiki%3AMoccaCalendar.Calendar2-us.Event2.WebHome&isResize=0&delta=-174600000&startDate=2021-01-18T09:30:00&endDate=2021-01-18T10:00:00&allDay=] WARN o.a.v.introspection - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:MoccaCalendar.UpdateService@15,25 2021-01-19 12:18:01,603 [http-nio-1115-exec-8 - http://localhost:1115/xwiki/bin/get/MoccaCalendar/UpdateService?xpage=plain&outputSyntax=plain&calendarDoc=MoccaCalendar.Calendar2-us.WebHome&page=xwiki%3AMoccaCalendar.Calendar2-us.Event2.WebHome&isResize=1&delta=9000000&startDate=2021-01-18T09:30:00&endDate=2021-01-18T12:30:00&allDay=] WARN o.a.v.introspection - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:MoccaCalendar.UpdateService@15,25

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions