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

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

Closed
ilieandriuta opened this issue Mar 12, 2020 · 0 comments
Closed

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

ilieandriuta opened this issue Mar 12, 2020 · 0 comments
Assignees
Milestone

Comments

@ilieandriuta
Copy link

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

@ilieandriuta ilieandriuta added this to the 2.0 milestone Mar 12, 2020
@mflorea mflorea modified the milestone: 1.5 Sep 29, 2020
@ignatescustefan ignatescustefan self-assigned this Oct 9, 2020
ignatescustefan added a commit that referenced this issue Oct 13, 2020
*replaced deprecated velocityCount and sorttool
acotiuga pushed a commit that referenced this issue Oct 13, 2020
ignatescustefan added a commit that referenced this issue Oct 16, 2020
ignatescustefan added a commit that referenced this issue Oct 16, 2020
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

3 participants