xwikisas / application-flashmessages

Allow you to create flash messages aiming at one or multiple local groups
0 stars 2 forks source link

Many warnings when using Flash Messages App on XWiki 12.1 #46

Closed ilieandriuta closed 4 years ago

ilieandriuta commented 4 years ago

STEPS TO REPRODUCE

  1. Create a new Flash Message entry with Start Date now and select a group
  2. Login with an user from the selected group
  3. Refresh the page

EXPECTED RESULTS

No warnings are displayed.

ACTUAL RESULTS

In console, there are many warnings displayed related to deprecated usage of method and binding, like:

2020-03-12 09:53:30,472 [http://localhost:1113/bin/view/Flash/Flash1] WARN o.x.v.XWikiVelocityContext - Deprecated binding [$velocityCount] used in [xwiki:Flash.FlashNotifier^XWiki.UIExtensionClass[0]] 2020-03-12 09:53:30,472 [http://localhost:1113/bin/view/Flash/Flash1] WARN o.x.v.XWikiVelocityContext - Deprecated binding [$velocityCount] used in [xwiki:Flash.FlashNotifier^XWiki.UIExtensionClass[0]] 2020-03-12 09:53:30,472 [http://localhost:1113/bin/view/Flash/Flash1] WARN o.x.v.XWikiVelocityContext - Deprecated binding [$velocityCount] used in [xwiki:Flash.FlashNotifier^XWiki.UIExtensionClass[0]] 2020-03-12 09:53:30,473 [http://localhost:1113/bin/view/Flash/Flash1] WARN o.x.v.XWikiVelocityContext - Deprecated binding [$velocityCount] used in [xwiki:Flash.FlashNotifier^XWiki.UIExtensionClass[0]] 2020-03-12 09:53:30,492 [http://localhost:1113/bin/view/Flash/Flash1] WARN o.a.v.introspection - Deprecated usage of method [org.apache.velocity.tools.generic.SortTool.sort] in xwiki:Flash.FlashNotifier^XWiki.UIExtensionClass[0]@82,26 2020-03-12 09:55:49,418 [http://localhost:1113/bin/view/Main/] WARN o.a.v.introspection - Deprecated usage of method [org.apache.velocity.tools.generic.SortTool.sort] in xwiki:Flash.FlashNotifier^XWiki.UIExtensionClass[0]@82,26 2020-03-12 09:56:44,606 [http://localhost:1113/bin/view/Flash/] WARN o.x.v.XWikiVelocityContext - Deprecated binding [$velocityCount] used in [xwiki:Flash.FlashNotifier^XWiki.UIExtensionClass[0]] 2020-03-12 09:56:44,606 [http://localhost:1113/bin/view/Flash/] WARN o.x.v.XWikiVelocityContext - Deprecated binding [$velocityCount] used in [xwiki:Flash.FlashNotifier^XWiki.UIExtensionClass[0]] 2020-03-12 09:56:44,606 [http://localhost:1113/bin/view/Flash/] WARN o.x.v.XWikiVelocityContext - Deprecated binding [$velocityCount] used in [xwiki:Flash.FlashNotifier^XWiki.UIExtensionClass[0]] 2020-03-12 09:56:44,606 [http://localhost:1113/bin/view/Flash/] WARN o.x.v.XWikiVelocityContext - Deprecated binding [$velocityCount] used in [xwiki:Flash.FlashNotifier^XWiki.UIExtensionClass[0]]

Some of these warnings are displayed at every page refresh and fill up the logs quite fast.

Environment: Windows 10 Pro 64bit, Edge 80, using an instance of XWiki 12.1 on PostgreSQL 12