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

Many warnings for deprecated usage of getter when using Blog Application

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 9.11.5
    • 9.10.4, 9.11.2
    • None
    • Windows 10 Pro 64 bit, Edge 79, using a local instance XWiki 11.10.3 on PostgreSQL 12, Tomcat 9.0.27
    • Unknown
    • Pull Request accepted

    Description

      STEPS TO REPRODUCE

      1. Create some blog posts and assign them each a category
      2. From 'Blog Categories' panel, click on the small RSS icon for some categories

      EXPECTED RESULTS

      There are no warnings/errors displayed.

       ACTUAL RESULTS

      In console, there are warnings like:

      2020-02-12 13:15:25,168 [http://localhost:1113/xwiki/bin/view/Blog/CategoryRss?xpage=plain&category=Blog.News] WARN  o.x.v.i.DefaultVelocityEngine  - Deprecated usage of getter [com.xpn.xwiki.api.Document.getRealLanguage] in 58:xwiki:Blog.CategoryRss@188,77
      2020-02-12 13:15:25,168 [http://localhost:1113/xwiki/bin/view/Blog/CategoryRss?xpage=plain&category=Blog.News] WARN  o.x.v.i.DefaultVelocityEngine  - Deprecated usage of getter [com.xpn.xwiki.api.Document.getRealLanguage] in 58:xwiki:Blog.CategoryRss@238,72
      2020-02-12 13:15:33,916 [http://localhost:1113/xwiki/bin/view/Blog/News?xpage=plain&sheet=Blog.CategoryRss] WARN  o.x.v.i.DefaultVelocityEngine  - Deprecated usage of getter [com.xpn.xwiki.api.Document.getRealLanguage] in 56:xwiki:Blog.CategoryRss@188,77
      2020-02-12 13:15:33,916 [http://localhost:1113/xwiki/bin/view/Blog/News?xpage=plain&sheet=Blog.CategoryRss] WARN  o.x.v.i.DefaultVelocityEngine  - Deprecated usage of getter [com.xpn.xwiki.api.Document.getRealLanguage] in 56:xwiki:Blog.CategoryRss@238,72
      2020-02-12 13:15:51,419 [http://localhost:1113/xwiki/bin/view/Blog/News?xpage=plain&sheet=Blog.CategoryRss] WARN  o.x.v.i.DefaultVelocityEngine  - Deprecated usage of getter [com.xpn.xwiki.api.Document.getRealLanguage] in 58:xwiki:Blog.CategoryRss@188,77
      2020-02-12 13:15:51,420 [http://localhost:1113/xwiki/bin/view/Blog/News?xpage=plain&sheet=Blog.CategoryRss] WARN  o.x.v.i.DefaultVelocityEngine  - Deprecated usage of getter [com.xpn.xwiki.api.Document.getRealLanguage] in 58:xwiki:Blog.CategoryRss@238,72
      2020-02-12 13:16:12,693 [http://localhost:1113/xwiki/bin/view/Blog/Other?xpage=plain&sheet=Blog.CategoryRss] WARN  o.x.v.i.DefaultVelocityEngine  - Deprecated usage of getter [com.xpn.xwiki.api.Document.getRealLanguage] in 50:xwiki:Blog.CategoryRss@188,77
      2020-02-12 13:16:12,694 [http://localhost:1113/xwiki/bin/view/Blog/Other?xpage=plain&sheet=Blog.CategoryRss] WARN  o.x.v.i.DefaultVelocityEngine  - Deprecated usage of getter [com.xpn.xwiki.api.Document.getRealLanguage] in 50:xwiki:Blog.CategoryRss@238,72
      2020-02-12 13:16:20,827 [http://localhost:1113/xwiki/bin/view/Blog/Personal?xpage=plain&sheet=Blog.CategoryRss] WARN  o.x.v.i.DefaultVelocityEngine  - Deprecated usage of getter [com.xpn.xwiki.api.Document.getRealLanguage] in 55:xwiki:Blog.CategoryRss@188,77
      2020-02-12 13:16:20,828 [http://localhost:1113/xwiki/bin/view/Blog/Personal?xpage=plain&sheet=Blog.CategoryRss] WARN  o.x.v.i.DefaultVelocityEngine  - Deprecated usage of getter [com.xpn.xwiki.api.Document.getRealLanguage] in 55:xwiki:Blog.CategoryRss@238,72
      2020-02-12 13:16:42,860 [http://localhost:1113/xwiki/bin/view/Blog/News?xpage=plain&sheet=Blog.CategoryRss] WARN  o.x.v.i.DefaultVelocityEngine  - Deprecated usage of getter [com.xpn.xwiki.api.Document.getRealLanguage] in 50:xwiki:Blog.CategoryRss@188,77
      2020-02-12 13:16:42,861 [http://localhost:1113/xwiki/bin/view/Blog/News?xpage=plain&sheet=Blog.CategoryRss] WARN  o.x.v.i.DefaultVelocityEngine  - Deprecated usage of getter [com.xpn.xwiki.api.Document.getRealLanguage] in 50:xwiki:Blog.CategoryRss@238,72
      2020-02-12 13:16:53,113 [http://localhost:1113/xwiki/bin/view/Blog/CategoryRss?xpage=plain&category=Blog.News] WARN  o.x.v.i.DefaultVelocityEngine  - Deprecated usage of getter [com.xpn.xwiki.api.Document.getRealLanguage] in 53:xwiki:Blog.CategoryRss@188,77
      2020-02-12 13:16:53,114 [http://localhost:1113/xwiki/bin/view/Blog/CategoryRss?xpage=plain&category=Blog.News] WARN  o.x.v.i.DefaultVelocityEngine  - Deprecated usage of getter [com.xpn.xwiki.api.Document.getRealLanguage] in 53:xwiki:Blog.CategoryRss@238,72
      2020-02-12 13:17:14,282 [http://localhost:1113/xwiki/bin/view/Blog/CategoryRss?xpage=plain&category=Blog.News] WARN  o.x.v.i.DefaultVelocityEngine  - Deprecated usage of getter [com.xpn.xwiki.api.Document.getRealLanguage] in 55:xwiki:Blog.CategoryRss@188,77
      2020-02-12 13:17:14,283 [http://localhost:1113/xwiki/bin/view/Blog/CategoryRss?xpage=plain&category=Blog.News] WARN  o.x.v.i.DefaultVelocityEngine  - Deprecated usage of getter [com.xpn.xwiki.api.Document.getRealLanguage] in 55:xwiki:Blog.CategoryRss@238,72
      2020-02-12 13:17:22,863 [http://localhost:1113/xwiki/bin/view/Blog/News?xpage=plain&sheet=Blog.CategoryRss] WARN  o.x.v.i.DefaultVelocityEngine  - Deprecated usage of getter [com.xpn.xwiki.api.Document.getRealLanguage] in 54:xwiki:Blog.CategoryRss@188,77
      2020-02-12 13:17:22,863 [http://localhost:1113/xwiki/bin/view/Blog/News?xpage=plain&sheet=Blog.CategoryRss] WARN  o.x.v.i.DefaultVelocityEngine  - Deprecated usage of getter [com.xpn.xwiki.api.Document.getRealLanguage] in 54:xwiki:Blog.CategoryRss@238,72
      2020-02-12 13:58:27,078 [http://localhost:1113/xwiki/bin/view/Blog/?xpage=plain&sheet=Blog.BlogRss] WARN  o.x.v.i.DefaultVelocityEngine  - Deprecated usage of getter [com.xpn.xwiki.api.Document.getRealLanguage] in 57:xwiki:Blog.BlogRss@122,77
      2020-02-12 13:58:27,079 [http://localhost:1113/xwiki/bin/view/Blog/?xpage=plain&sheet=Blog.BlogRss] WARN  o.x.v.i.DefaultVelocityEngine  - Deprecated usage of getter [com.xpn.xwiki.api.Document.getRealLanguage] in 57:xwiki:Blog.BlogRss@238,72
      2020-02-12 14:20:04,890 [http://localhost:1113/xwiki/bin/view/Blog/News?xpage=plain&sheet=Blog.CategoryRss] WARN  o.x.v.i.DefaultVelocityEngine  - Deprecated usage of getter [com.xpn.xwiki.api.Document.getRealLanguage] in 52:xwiki:Blog.CategoryRss@188,77
      2020-02-12 14:20:04,891 [http://localhost:1113/xwiki/bin/view/Blog/News?xpage=plain&sheet=Blog.CategoryRss] WARN  o.x.v.i.DefaultVelocityEngine  - Deprecated usage of getter [com.xpn.xwiki.api.Document.getRealLanguage] in 52:xwiki:Blog.CategoryRss@238,72

      These warnings can fill the logs and take up space.

      Attachments

        Issue Links

          Activity

            People

              amottier Antoine Mottier
              iandriuta Ilie Andriuta
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: