xwikisas / application-xpoll

Simple poll application, Doodle like
0 stars 6 forks source link

Warnings for deprecated usage of getter when using Polls App on XWiki 12.1 #67

Closed ilieandriuta closed 4 years ago

ilieandriuta commented 4 years ago

STEPS TO REPRODUCE

  1. Create a new poll
  2. Edit the poll, add some more proposals
  3. Vote a proposal

EXPECTED RESULTS

No warnings are displayed in XWiki console.

ACTUAL RESULTS

There are some warnings displayed in console, like:

2020-03-13 11:38:22,766 [http://localhost:1113/bin/view/XPoll/Poll1/] WARN o.a.v.introspection - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in xwiki:XPoll.XPollSheet@36,32 2020-03-13 11:38:39,261 [http://localhost:1113/bin/view/XPoll/Poll1/] WARN o.a.v.introspection - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in xwiki:XPoll.XPollSheet@36,32 2020-03-13 11:38:52,876 [http://localhost:1113/bin/view/XPoll/Poll1/] WARN o.a.v.introspection - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in xwiki:XPoll.XPollSheet@36,32 2020-03-13 11:42:11,586 [http://localhost:1113/bin/view/XPoll/Poll1/] WARN o.a.v.introspection - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in xwiki:XPoll.XPollSheet@36,32 2020-03-13 11:42:14,714 [http://localhost:1113/bin/view/XPoll/Poll1/] WARN o.a.v.introspection - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in xwiki:XPoll.XPollSheet@36,32

Environment: Edge 80, using an instance of XWiki 12.1 on PostgreSQL 12, Docker, Polls Pro 2.0.1

ilieandriuta commented 4 years ago

I've reproduced the issue also on XWiki 11.10.4, although with a slightly different stacktrace:

2020-04-23 12:37:57,898 [http://localhost:1113/bin/view/XPoll/Poll1/] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 57:xwiki:XPoll.XPollSheet@36,32 2020-04-23 12:38:01,290 [http://localhost:1113/bin/get/XPoll/Poll1/] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 56:xwiki:XPoll.XPollSheet@36,32 2020-04-23 12:39:49,188 [http://localhost:1113/bin/view/XPoll/Poll2%20us/] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 59:xwiki:XPoll.XPollSheet@36,32 2020-04-23 12:39:53,982 [http://localhost:1113/bin/get/XPoll/Poll2%20us/] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 57:xwiki:XPoll.XPollSheet@36,32 2020-04-23 12:50:09,384 [http://localhost:1113/bin/view/XPoll/Poll2%20us/] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 64:xwiki:XPoll.XPollSheet@36,32 2020-04-23 12:50:12,387 [http://localhost:1113/bin/get/XPoll/Poll2%20us/] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 62:xwiki:XPoll.XPollSheet@36,32 2020-04-23 12:50:14,441 [http://localhost:1113/bin/view/XPoll/Poll2%20us/] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 59:xwiki:XPoll.XPollSheet@36,32 2020-04-23 12:50:50,923 [http://localhost:1113/bin/view/XPoll/Poll1/] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 63:xwiki:XPoll.XPollSheet@36,32 2020-04-23 12:50:55,413 [http://localhost:1113/bin/get/XPoll/Poll1/] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 64:xwiki:XPoll.XPollSheet@36,32 2020-04-23 12:50:59,495 [http://localhost:1113/bin/get/XPoll/Poll1/] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 59:xwiki:XPoll.XPollSheet@36,32 2020-04-23 12:51:05,993 [http://localhost:1113/bin/view/XPoll/Poll1/] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 57:xwiki:XPoll.XPollSheet@36,32