Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-1857

Map parameter of a Filter event is not properly serialized in XML when passing a custom Map implementation

    XMLWordPrintable

    Details

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

      Description

      The parameter converter is supposed to be chosen based on the filter parameter type (here Map) but it's actually serialized based on the actual value type because XStream does not register the MapConverter.

      Same issue for List and Collection.

        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: