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

Many warnings related to Unknown property meta class field [restricted] for [TextArea] when upgrading XWiki from 14.4.7

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • None
    • 14.4.7
    • None
    • Windows 11 Pro 64bit, Chrome 107, using an instance of XWiki 14.4.7 on PostgreSQL 15, Tomcat 9.0.69, reproducible also on Jetty/HSQLDB
    • Unknown

    Description

      STEPS TO REPRODUCE

      1. Create an instance of XWiki 14.4.7 (optional, with subwiki)
      2. Upgrade the instance to XWiki 14.9 (both Main and subwiki, if created) by replacing the old WAR with the new one and configure it with the corresponding database settings

      EXPECTED RESULTS

      No warnings are displayed in console.

      ACTUAL RESULTS

      When the instance is started to be upgraded, a large stacktrace of warnings  is displayed in XWiki console, on Main Wiki and on subwiki.

      When starting the instance to be upgraded on Main Wiki:

      2022-11-28 14:33:11,377 [XWiki initialization] WARN  ropertyClassOutputFilterStream - Unknown property meta class field [restricted] for property type [TextArea]
      [...]
      2022-11-28 14:33:17,797 [XWiki Solr index thread] WARN  ropertyClassOutputFilterStream - Unknown property meta class field [restricted] for property type [TextArea]
      [...]
      2022-11-28 14:33:22,243 [XWiki Scheduler initialization] WARN  ropertyClassOutputFilterStream - Unknown property meta class field [restricted] for property type [TextArea]
      [...]
      2022-11-28 14:33:33,771 [task-manager-consumer] WARN  ropertyClassOutputFilterStream - Unknown property meta class field [restricted] for property type [TextArea]
      [...]
      2022-11-28 14:33:34,238 [XWiki Solr resolve thread] WARN  ropertyClassOutputFilterStream - Unknown property meta class field [restricted] for property type [TextArea]
      [...]
      2022-11-28 14:33:35,283 [http-nio-1115-exec-9 - http://localhost:1115/xwiki/bin/view/Main/] WARN  ropertyClassOutputFilterStream - Unknown property meta class field [restricted] for property type [TextArea]
      

      When starting the instance to be upgraded on subwiki:

      2022-11-28 14:44:05,918 [com.xpn.xwiki.internal.WikiInitializerJob@5f524172([initialization, wiki, subwikiglobal])] WARN  ropertyClassOutputFilterStream - Unknown property meta class field [restricted] for property type [TextArea]

      Also, on DW logs (both Main and subwiki), there are many warnings (about 63) like:

      Unknown property meta class field [restricted] for property type [TextArea]

      However, the upgrade process is finished to the end.

      These warnings are not displayed when upgrading to XWiki 14.4.6 to 14.9 (tested an upgrade from XWiki 13.10.10 to 14.4.7 and no warnings either).

      Please find attached the full logs from the upgrade of XWiki 14.4.7 to XWiki 14.9.

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            iandriuta Ilie Andriuta
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: