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

Remote observation manager try to serialize XWikiContext for events without custom converter

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.2
    • Fix Version/s: 4.1.3, 4.2-milestone-1
    • Component/s: Observation
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      The default converter check that the events and data/source parameters are serializable before sending them. Problem is that XWikiContext is declared as Serializable which is far from being true.

      Not very nice for the log but not a big deal since in this case it just fail to send the event to the cluster which is exactly what we want. Need to find a way to skip XWikiContext and other classes in the same situation. The main issue is that anything can be declared as Serializable even if not true.

        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: