Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
ilieandriuta opened this issue Jan 19, 2021 · 0 comments
Closed
Assignees
Milestone

Comments

@ilieandriuta
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants