Uploaded image for project: 'Blog Application'
  1. Blog Application
  2. BLOG-156

Many warnings for deprecated usage of method when using Blog Application

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Minor
    • None
    • 9.10.4
    • Windows 10 Pro 64 bit, Edge 80, using a local instance XWiki 12.1 on PostgreSQL 12
    • Unknown

    Description

      STEPS TO REPRODUCE

      1. Go to Blog Application
      2. Fill in a new blog post title
      3. Click 'Create'
      4. Click 'Save & View'
      5. Go to the blog post and click the globe icon to publish it
      6. Click again on 'Blog' from Applications Panel

      EXPECTED RESULTS

      There are no warnings/errors displayed.

      ACTUAL RESULTS

      In console are displayed many warnings for deprecated usage of method like:

      2020-03-05 12:47:27,960 [http://localhost:1113/bin/view/Blog/] WARN  o.a.v.introspection            - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:Blog.BlogSheet@196,33
      2020-03-05 14:12:03,328 [http://localhost:1113/bin/view/Blog/] WARN  o.a.v.introspection            - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:Blog.BlogSheet@196,33
      2020-03-05 14:12:04,648 [http://localhost:1113/bin/edit/Blog/Blog1?template=Blog.BlogPostTemplate&parent=Blog.WebHome&title=Blog1&Blog.BlogPostClass_0_title=Blog1&form_token=xjL0DYbGQ8xlpcHEnR7qZQ] WARN  o.a.v.introspection            - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:Blog.RecentPostsPanel@201,42
      2020-03-05 14:12:06,261 [http://localhost:1113/bin/download/Blog/Blog1/filename?width=300] WARN  o.a.v.introspection            - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:Blog.RecentPostsPanel@201,42
      2020-03-05 14:12:07,853 [http://localhost:1113/bin/view/Blog/] WARN  o.a.v.introspection            - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:Blog.BlogSheet@196,33
      2020-03-05 14:16:01,607 [http://localhost:1113/bin/view/Blog/] WARN  o.a.v.introspection            - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:Blog.BlogSheet@196,33
      2020-03-05 14:16:02,646 [http://localhost:1113/bin/edit/Blog/Blog1?template=Blog.BlogPostTemplate&parent=Blog.WebHome&title=Blog1&Blog.BlogPostClass_0_title=Blog1&form_token=xjL0DYbGQ8xlpcHEnR7qZQ] WARN  o.a.v.introspection            - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:Blog.RecentPostsPanel@201,42
      2020-03-05 14:16:03,451 [http://localhost:1113/bin/download/Blog/Blog1/filename?width=300] WARN  o.a.v.introspection            - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:Blog.RecentPostsPanel@201,42
      2020-03-05 14:16:13,127 [http://localhost:1113/bin/view/Blog/Blog1] WARN  o.a.v.introspection            - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:Blog.RecentPostsPanel@201,42
      2020-03-05 14:16:19,692 [http://localhost:1113/bin/view/Blog/] WARN  o.a.v.introspection            - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:Blog.BlogSheet@196,33
      2020-03-05 14:16:24,910 [http://localhost:1113/bin/view/Blog/] WARN  o.a.v.introspection            - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:Blog.BlogSheet@196,33
      2020-03-05 14:16:26,134 [http://localhost:1113/bin/edit/Blog/Blog2?template=Blog.BlogPostTemplate&parent=Blog.WebHome&title=Blog2&Blog.BlogPostClass_0_title=Blog2&form_token=xjL0DYbGQ8xlpcHEnR7qZQ] WARN  o.a.v.introspection            - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:Blog.RecentPostsPanel@201,42
      2020-03-05 14:16:27,020 [http://localhost:1113/bin/download/Blog/Blog2/filename?width=300] WARN  o.a.v.introspection            - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:Blog.RecentPostsPanel@201,42
      2020-03-05 14:16:36,451 [http://localhost:1113/bin/view/Blog/Blog2] WARN  o.a.v.introspection            - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:Blog.RecentPostsPanel@201,42
      2020-03-05 14:17:20,180 [http://localhost:1113/bin/view/Blog/] WARN  o.a.v.introspection            - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:Blog.BlogSheet@196,33
      2020-03-05 14:17:23,011 [http://localhost:1113/bin/view/Blog/Blog1] WARN  o.a.v.introspection            - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:Blog.RecentPostsPanel@201,42
      2020-03-05 14:17:34,641 [http://localhost:1113/bin/view/Blog/Blog1] WARN  o.a.v.introspection            - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:Blog.RecentPostsPanel@201,42
      2020-03-05 14:17:48,742 [http://localhost:1113/bin/view/Blog/Blog1] WARN  o.a.v.introspection            - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:Blog.RecentPostsPanel@201,42
      2020-03-05 14:17:49,846 [http://localhost:1113/bin/view/Blog/] WARN  o.a.v.introspection            - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:Blog.BlogSheet@196,33
      2020-03-05 14:19:35,784 [http://localhost:1113/bin/view/Blog/ManageCategories] WARN  o.a.v.introspection            - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:Blog.RecentPostsPanel@201,42
      2020-03-05 14:22:15,567 [http://localhost:1113/bin/view/Blog/ManageCategories?ajax=1&xpage=plain&display=list&form_token=xjL0DYbGQ8xlpcHEnR7qZQ&xaction=rename&category=Blog.SubCateg2&newCategoryName=Subcateg1] WARN  o.a.v.introspection            - Deprecated usage of method [com.xpn.xwiki.api.Document.rename] in xwiki:Blog.ManageCategories@526,14
      2020-03-05 14:22:34,728 [http://localhost:1113/bin/view/Blog/] WARN  o.a.v.introspection            - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:Blog.BlogSheet@196,33
      2020-03-05 14:36:29,271 [http://localhost:1113/bin/view/Blog/] WARN  o.a.v.introspection            - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:Blog.BlogSheet@196,33
      2020-03-05 14:36:33,760 [http://localhost:1113/bin/view/Blog/] WARN  o.a.v.introspection            - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:Blog.BlogSheet@196,33
      2020-03-05 14:39:10,443 [http://localhost:1113/bin/view/Blog/] WARN  o.a.v.introspection            - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:Blog.BlogSheet@196,33
      2020-03-05 14:39:19,532 [http://localhost:1113/bin/view/Blog/] WARN  o.a.v.introspection            - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:Blog.BlogSheet@196,33
      2020-03-05 14:39:20,843 [http://localhost:1113/bin/edit/Blog/Blog3?template=Blog.BlogPostTemplate&parent=Blog.WebHome&title=Blog3&Blog.BlogPostClass_0_title=Blog3&form_token=xjL0DYbGQ8xlpcHEnR7qZQ] WARN  o.a.v.introspection            - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:Blog.RecentPostsPanel@201,42
      2020-03-05 14:39:21,700 [http://localhost:1113/bin/download/Blog/Blog3/filename?width=300] WARN  o.a.v.introspection            - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:Blog.RecentPostsPanel@201,42
      2020-03-05 14:39:26,093 [http://localhost:1113/bin/view/Blog/] WARN  o.a.v.introspection            - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:Blog.BlogSheet@196,33
      2020-03-05 14:39:51,067 [http://localhost:1113/bin/view/Blog/] WARN  o.a.v.introspection            - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:Blog.BlogSheet@196,33
      2020-03-05 14:39:52,059 [http://localhost:1113/bin/edit/Blog/Blog3?template=Blog.BlogPostTemplate&parent=Blog.WebHome&title=Blog3&Blog.BlogPostClass_0_title=Blog3&form_token=xjL0DYbGQ8xlpcHEnR7qZQ] WARN  o.a.v.introspection            - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:Blog.RecentPostsPanel@201,42
      2020-03-05 14:39:52,903 [http://localhost:1113/bin/download/Blog/Blog3/filename?width=300] WARN  o.a.v.introspection            - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:Blog.RecentPostsPanel@201,42
      2020-03-05 14:39:58,339 [http://localhost:1113/bin/view/Blog/Blog3] WARN  o.a.v.introspection            - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:Blog.RecentPostsPanel@201,42
      2020-03-05 14:40:02,229 [http://localhost:1113/bin/view/Blog/Publisher?entryName=Blog.Blog3&xredirect=%2Fbin%2Fview%2FBlog%2FBlog3&form_token=xjL0DYbGQ8xlpcHEnR7qZQ] WARN  o.a.v.introspection            - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:Blog.RecentPostsPanel@201,42
      2020-03-05 14:40:03,139 [http://localhost:1113/bin/view/Blog/Blog3] WARN  o.a.v.introspection            - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:Blog.RecentPostsPanel@201,42
      2020-03-05 14:40:20,478 [http://localhost:1113/bin/view/Blog/] WARN  o.a.v.introspection            - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:Blog.BlogSheet@196,33
      2020-03-05 14:40:23,241 [http://localhost:1113/bin/view/Blog/Blog2] WARN  o.a.v.introspection            - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:Blog.RecentPostsPanel@201,42
      2020-03-05 14:40:58,692 [http://localhost:1113/bin/view/Blog/Publisher?entryName=Blog.Blog2&xredirect=%2Fbin%2Fview%2FBlog%2FBlog2&form_token=xjL0DYbGQ8xlpcHEnR7qZQ] WARN  o.a.v.introspection            - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:Blog.RecentPostsPanel@201,42
      2020-03-05 14:40:59,547 [http://localhost:1113/bin/view/Blog/Blog2] WARN  o.a.v.introspection            - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:Blog.RecentPostsPanel@201,42
      2020-03-05 14:41:01,544 [http://localhost:1113/bin/view/Blog/] WARN  o.a.v.introspection            - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:Blog.BlogSheet@196,33
      

      These warnings can fill the logs and take up space.

      Attachments

        Issue Links

          Activity

            People

              mflorea Marius Dumitru Florea
              iandriuta Ilie Andriuta
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: