Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-6655

Cannot serialise custom objects defined in plugins using Bandana

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 2.3
    • None
    • None
    • None

    Description

      Bandana does not currently search the plugin classloader when serialising.

      An error similar to this results if a plugin author tries to save custom objects using bandana:

      [ConfluenceBandanaPersister] Error loading stream for context :
      [com.atlassian.confluence.setup.bandana.ConfluenceBandanaContext@13fe9,
      spaceKey='SBX']
      com.thoughtworks.xstream.converters.ConversionException:
      com.host.com.TestObject :
      com.host.com.TestObject
      ---- Debugging information ----
      required-type : java.util.HashMap
      cause-message : com.host.com.TestObject :
      com.host.com.TestObject
      class :
      com.atlassian.confluence.setup.bandana.ConfluenceBandanaConfigMap
      message : com.host.com.TestObject :
      com.host.com.TestObject
      line number : 17
      path :
      /confluence-config-map/values/entry[2]/com.host.com.TestObject
      cause-exception :
      com.thoughtworks.xstream.alias.CannotResolveClassException
      -------------------------------

      Attachments

        Activity

          People

            Unassigned Unassigned
            dave@atlassian.com dave (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: