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

Unknow element directly under <class> cause the XAR parser to fail

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 11.10.2
    • Fix Version/s: 12.0-rc-1, 11.10.3
    • Component/s: Extension - XAR
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Any unknown class field is seen as a property and properties without a type are failing the build. They should probably be ignored (and warned like other unknown elements) instead of throwing an exception.

      It should not cause much issue in practice since we never added any new class field but better take care of this before doing it.

        Attachments

          Activity

            People

            Assignee:
            tmortagne Thomas Mortagne
            Reporter:
            tmortagne Thomas Mortagne
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: