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 getter when using Calendar Pro #36

Closed
ilieandriuta opened this issue Apr 22, 2020 · 0 comments
Closed
Assignees
Milestone

Comments

@ilieandriuta
Copy link

ilieandriuta commented Apr 22, 2020

STEPS TO REPRODUCE

Tested on XWiki 11.10.4.

  1. Create a new event in a Calendar
  2. Set the Title, Start date, End date and Description

EXPECTED RESULTS

No warnings are displayed.

ACTUAL RESULTS

In console, there are many warnings displayed related to deprecated usage of getter, like:

2020-04-22 09:46:52,960 [http://localhost:1113/bin/edit/MoccaCalendar/Calendar1ad/randomPageUblADkoBC4?template=MoccaCalendar.MoccaCalendarEventTemplate&parentFROM=MoccaCalendar.Calendar1ad.WebHome&form_token=sp3MsvmwwansqEKxp1cscg&ocalcaction=create&MoccaCalendar.MoccaCalendarEventClass_0_startDate=22.04.2020%2000%3A00&MoccaCalendar.MoccaCalendarEventClass_0_endDate=&MoccaCalendar.MoccaCalendarEventClass_0_allDay=true&xpage=plain&xhidden=1] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getRealLanguage] in 62:xwiki:MoccaCalendar.MoccaCalendarEventSheet@13,69 2020-04-22 09:46:59,025 [http://localhost:1113/bin/edit/MoccaCalendar/Calendar1ad/randomPageUblADkoBC4?template=MoccaCalendar.MoccaCalendarEventTemplate&parentFROM=MoccaCalendar.Calendar1ad.WebHome&form_token=sp3MsvmwwansqEKxp1cscg&ocalcaction=create&xpage=plain&xhidden=1] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getRealLanguage] in 59:xwiki:MoccaCalendar.MoccaCalendarEventSheet@13,69 2020-04-22 09:49:39,305 [http://localhost:1113/bin/edit/MoccaCalendar/Calendar2%20us/randomPagenGt7MvPSd4?template=MoccaCalendar.MoccaCalendarEventTemplate&parentFROM=MoccaCalendar.Calendar2%20us.WebHome&form_token=0IsFVhU0LC5hrJz3iKYe4A&ocalcaction=create&xpage=plain&xhidden=1] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getRealLanguage] in 60:xwiki:MoccaCalendar.MoccaCalendarEventSheet@13,69 2020-04-22 09:57:22,803 [http://localhost:1113/bin/edit/MoccaCalendar/randomPage4zAzxMcfkM?template=MoccaCalendar.MoccaCalendarEventTemplate&parentFROM=MoccaCalendar.Events&form_token=sp3MsvmwwansqEKxp1cscg&ocalcaction=create&MoccaCalendar.MoccaCalendarEventClass_0_startDate=21.04.2020%2010%3A00&MoccaCalendar.MoccaCalendarEventClass_0_endDate=21.04.2020%2010%3A30&MoccaCalendar.MoccaCalendarEventClass_0_allDay=false&xpage=plain&xhidden=1] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getRealLanguage] in 64:xwiki:MoccaCalendar.MoccaCalendarEventSheet@13,69

Environment: Windows 10 Pro 64bit, Chrome 81, using an instance of XWiki 11.10.4 on PostgreSQL 12, Tomcat, Docker

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