Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-17306

Warnings for deprecated usage of method on Page Administration: Panels

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Minor
    • None
    • 12.1-rc-1, 12.3
    • Panels
    • None
    • Windows 10 Pro 64 bit, Chrome 81, using a local instance XWiki 12.3 on Oracle 19c, Tomcat 9.0.31
    • Unknown
    • N/A
    • N/A

    Description

      STEPS TO REPRODUCE

      1. Login as Admin
      2. Go to a page
      3. Click on More Actions > Administer Page > Look & Feel > Panels
      4. From Panel List, add a panel to the left/right column
      5. While still on Page Administration: Panels, refresh the page
      6. Observe the console

      EXPECTED RESULTS

      No warnings/errors are displayed.

      ACTUAL RESULTS

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

      2020-05-08 15:16:49,953 [http://localhost:1114/xwiki/bin/admin/P12/WebPreferences?editor=spaceadmin&section=Panels.PanelWizard&space=P12&forceLeftPanels=1&forceRightPanels=1&section=Panels.PanelWizard&language=en] WARN  o.a.v.introspection            - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:P12.WebPreferences@4,30
      2020-05-08 15:16:58,500 [http://localhost:1114/xwiki/bin/admin/P12/WebPreferences?editor=spaceadmin&section=Panels.PanelWizard&space=P12&forceLeftPanels=1&forceRightPanels=1&section=Panels.PanelWizard&language=en] WARN  o.a.v.introspection            - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:P12.WebPreferences@4,30
      2020-05-08 15:17:02,783 [http://localhost:1114/xwiki/bin/admin/P12/WebPreferences?editor=spaceadmin&section=Panels.PanelWizard&space=P12&forceLeftPanels=1&forceRightPanels=1&section=Panels.PanelWizard&language=en] WARN  o.a.v.introspection            - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:P12.WebPreferences@4,30
      2020-05-08 15:17:07,366 [http://localhost:1114/xwiki/bin/admin/P12/WebPreferences?editor=spaceadmin&section=Panels.PanelWizard&space=P12&forceLeftPanels=1&forceRightPanels=1&section=Panels.PanelWizard&language=en] WARN  o.a.v.introspection            - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:P12.WebPreferences@4,30
      2020-05-08 15:17:12,241 [http://localhost:1114/xwiki/bin/admin/P12/WebPreferences?editor=spaceadmin&section=Panels.PanelWizard&space=P12&forceLeftPanels=1&forceRightPanels=1&section=Panels.PanelWizard&language=en] WARN  o.a.v.introspection            - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:P12.WebPreferences@4,30
      2020-05-08 15:18:18,964 [http://localhost:1114/xwiki/bin/admin/P12/WebPreferences?editor=spaceadmin&section=Panels.PanelWizard&space=P12&forceLeftPanels=1&forceRightPanels=1&section=Panels.PanelWizard&language=en] WARN  o.a.v.introspection            - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:P12.WebPreferences@4,30
      2020-05-08 15:18:38,566 [http://localhost:1114/xwiki/bin/admin/P12/WebPreferences?editor=spaceadmin&section=Panels.PanelWizard&space=P12&forceLeftPanels=1&forceRightPanels=1&section=Panels.PanelWizard&language=en] WARN  o.a.v.introspection            - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:P12.WebPreferences@4,30
      2020-05-08 15:18:47,054 [http://localhost:1114/xwiki/bin/admin/P12/WebPreferences?editor=spaceadmin&section=Panels.PanelWizard&space=P12&forceLeftPanels=1&forceRightPanels=1&section=Panels.PanelWizard&language=en] WARN  o.a.v.introspection            - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:P12.WebPreferences@4,30
      2020-05-08 15:19:03,778 [http://localhost:1114/xwiki/bin/admin/P12/WebPreferences?editor=spaceadmin&section=Panels.PanelWizard&space=P12&forceLeftPanels=1&forceRightPanels=1&section=Panels.PanelWizard&language=en] WARN  o.a.v.introspection            - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:P12.WebPreferences@4,30
      2020-05-08 15:19:37,052 [http://localhost:1114/xwiki/bin/admin/P12/WebPreferences?editor=spaceadmin&section=Panels.PanelWizard&space=P12&forceLeftPanels=1&forceRightPanels=1&section=Panels.PanelWizard&language=en] WARN  o.a.v.introspection            - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:P12.WebPreferences@4,30

      I've tested also on XWiki 11.10.4, but the issue didn't reproduce.

      Attachments

        Activity

          People

            vmassol Vincent Massol
            iandriuta Ilie Andriuta
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: