Closed ilieandriuta closed 3 years ago
XWiki 12.9 with IE 11 and GDPR Cookie Consent 1.2.4
2020-11-20 14:29:52,675 [qtp668849042-15 - http://localhost:8080/xwiki/bin/view/Main/] WARN o.a.v.introspection - Deprecated usage of getter [com.xpn.xwiki.api.Context.getLanguage] in xwiki:CookieConsent.TrackersUIX^XWiki.UIExtensionClass[0]@32,99 2020-11-20 14:29:55,128 [qtp668849042-16 - http://localhost:8080/xwiki/bin/ssx/CookieConsent/WebHome?language=en&docVersion=2.1] WARN o.a.v.introspection - Deprecated usage of getter [com.xpn.xwiki.api.Context.getLanguage] in xwiki:CookieConsent.WebHome@3,124 2020-11-20 14:29:55,926 [qtp668849042-17 - http://localhost:8080/xwiki/bin/jsx/CookieConsent/Script?language=en&docVersion=1.1] WARN o.a.v.introspection - Deprecated usage of getter [com.xpn.xwiki.api.Context.getLanguage] in xwiki:CookieConsent.Script@1,124 2020-11-20 14:30:01.176:INFO:oejshC.xwiki:qtp668849042-15 - http://localhost:8080/xwiki/rest/notifications/count?media=json&userId=xwiki%3AXWiki.user01&useUserPreferences=true¤tWiki=xwiki&async=true&_=1605875400953: RestletServlet: [Restlet] ServerServlet: component class is null 2020-11-20 14:30:07.072:INFO:oejshC.xwiki:qtp668849042-15 - http://localhost:8080/xwiki/rest/notifications/count?media=json&userId=xwiki%3AXWiki.user01&useUserPreferences=true¤tWiki=xwiki&async=true&_=1605875400953: RestletServlet: [Restlet] Attaching application: org.xwiki.rest.internal.XWikiRestletJaxRsApplication@4282a4f5 to URI: /xwiki/rest 2020-11-20 14:31:18,923 [qtp668849042-82 - http://localhost:8080/xwiki/bin/view/Main/] WARN o.a.v.introspection - Deprecated usage of getter [com.xpn.xwiki.api.Context.getLanguage] in xwiki:CookieConsent.TrackersUIX^XWiki.UIExtensionClass[0]@32,99 2020-11-20 14:31:20,487 [qtp668849042-94 - http://localhost:8080/xwiki/bin/jsx/CookieConsent/Script?language=en&docVersion=1.1] WARN o.a.v.introspection - Deprecated usage of getter [com.xpn.xwiki.api.Context.getLanguage] in xwiki:CookieConsent.Script@1,124 2020-11-20 14:31:25,197 [qtp668849042-22 - http://localhost:8080/xwiki/bin/ssx/Panels/Applications?&docVersion=1.1] WARN c.x.x.w.SsxAction - Failed to send SX content: [null] 2020-11-20 14:31:25,458 [qtp668849042-17 - http://localhost:8080/xwiki/bin/view/Main/] WARN o.a.v.introspection - Deprecated usage of getter [com.xpn.xwiki.api.Context.getLanguage] in xwiki:CookieConsent.TrackersUIX^XWiki.UIExtensionClass[0]@32,99 2020-11-20 14:31:28,667 [qtp668849042-14 - http://localhost:8080/xwiki/bin/login/XWiki/XWikiLogin?xredirect=%2Fxwiki%2Fbin%2Fview%2FMain%2F] WARN o.a.v.introspection - Deprecated usage of getter [com.xpn.xwiki.api.Context.getLanguage] in xwiki:CookieConsent.TrackersUIX^XWiki.UIExtensionClass[0]@32,99 2020-11-20 14:31:33,499 [qtp668849042-14 - http://localhost:8080/xwiki/bin/view/Main/] WARN o.a.v.introspection - Deprecated usage of getter [com.xpn.xwiki.api.Context.getLanguage] in xwiki:CookieConsent.TrackersUIX^XWiki.UIExtensionClass[0]@32,99 2020-11-20 14:31:48,848 [qtp668849042-14 - http://localhost:8080/xwiki/bin/view/Main/] WARN o.a.v.introspection - Deprecated usage of getter [com.xpn.xwiki.api.Context.getLanguage] in xwiki:CookieConsent.TrackersUIX^XWiki.UIExtensionClass[0]@32,99 2020-11-20 14:31:49,253 [qtp668849042-95 - http://localhost:8080/xwiki/bin/ssx/CookieConsent/WebHome?language=en&docVersion=2.1] WARN o.a.v.introspection - Deprecated usage of getter [com.xpn.xwiki.api.Context.getLanguage] in xwiki:CookieConsent.WebHome@3,124 2020-11-20 14:31:49,609 [qtp668849042-22 - http://localhost:8080/xwiki/bin/jsx/CookieConsent/Script?language=en&docVersion=1.1] WARN o.a.v.introspection - Deprecated usage of getter [com.xpn.xwiki.api.Context.getLanguage] in xwiki:CookieConsent.Script@1,124
Fixed by commit 1f9aa9f5213a4a431909fbd23289f158f1b51cc8
I should have searched for an open issue. Sorry for this.
STEPS TO REPRODUCE
Tested on XWiki 11.10.5.
EXPECTED RESULTS
No warnings are displayed.
ACTUAL RESULTS
In console, there are many warnings displayed related to deprecated usage of getter, like:
2020-06-09 16:39:07,944 [http://localhost:1115/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladmin§ion=GDPR%20Cookie%20Consent%20Setup] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Context.getLanguage] in 59:xwiki:CookieConsent.TrackersUIX^XWiki.UIExtensionClass[0]@32,99 2020-06-09 16:39:08,030 [http://localhost:1115/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladmin§ion=GDPR%20Cookie%20Consent%20Setup] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Context.getLanguage] in 59:xwiki:XWiki.AdminSheet@29,99 2020-06-09 16:39:08,031 [http://localhost:1115/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladmin§ion=GDPR%20Cookie%20Consent%20Setup] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Context.getLanguage] in 59:xwiki:XWiki.AdminSheet@71,95 2020-06-09 16:39:53,328 [http://localhost:1115/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladmin§ion=GDPR%20Cookie%20Consent%20Setup] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Context.getLanguage] in 56:xwiki:CookieConsent.TrackersUIX^XWiki.UIExtensionClass[0]@32,99 2020-06-09 16:39:53,465 [http://localhost:1115/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladmin§ion=GDPR%20Cookie%20Consent%20Setup] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Context.getLanguage] in 56:xwiki:XWiki.AdminSheet@29,99 2020-06-09 16:39:53,465 [http://localhost:1115/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladmin§ion=GDPR%20Cookie%20Consent%20Setup] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Context.getLanguage] in 56:xwiki:XWiki.AdminSheet@71,95 2020-06-09 16:40:15,325 [http://localhost:1115/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladmin§ion=GDPR%20Cookie%20Consent%20Setup] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Context.getLanguage] in 50:xwiki:CookieConsent.TrackersUIX^XWiki.UIExtensionClass[0]@32,99 2020-06-09 16:40:15,413 [http://localhost:1115/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladmin§ion=GDPR%20Cookie%20Consent%20Setup] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Context.getLanguage] in 50:xwiki:XWiki.AdminSheet@29,99 2020-06-09 16:40:15,414 [http://localhost:1115/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladmin§ion=GDPR%20Cookie%20Consent%20Setup] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Context.getLanguage] in 50:xwiki:XWiki.AdminSheet@71,95 2020-06-09 16:40:15,777 [http://localhost:1115/xwiki/bin/ssx/CookieConsent/WebHome?language=en&docVersion=2.4] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Context.getLanguage] in 52:xwiki:CookieConsent.WebHome@3,124 2020-06-09 16:40:15,818 [http://localhost:1115/xwiki/bin/jsx/CookieConsent/Script?language=en&docVersion=1.1] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Context.getLanguage] in 54:xwiki:CookieConsent.Script@1,124
Environment: Windows 10 Pro 64bit, Firefox 77, using an instance of XWiki 11.10.5 on Oracle 19c, Tomcat 9.0.35