Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-30702

JIRA backup and restore does not handle map data stored by plugins correctly

    XMLWordPrintable

Details

    Description

      If a plugin developer uses SAL to store a map in the database using PluginSettings.put(key, value) where value is a Map then the values in the map are stored in the database using a separator of x'0C', aka \f or FormFeed. This character is invalid in XML including within CDATA and EntityEngine does not handle this data in any special way on Export and so on XML restore the data becomes invalid and inaccessible to the plugin.

      Attachments

        1. good-after.png
          good-after.png
          139 kB
        2. good-after-2.png
          good-after-2.png
          143 kB
        3. good-before.png
          good-before.png
          134 kB
        4. good-before-2.png
          good-before-2.png
          123 kB

        Issue Links

          Activity

            People

              edalgliesh Eric Dalgliesh
              tcampbell Trevor Campbell (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              16 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: