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

Invalid change items generated after doing an XML export and re-import for text fields

    XMLWordPrintable

Details

    Description

      The problem is that most web browsers submit multi-line contents of text areas teminated by \r\n characters (windows line terminators). These get exported properly to XML on backup. The problem is that according to XML spec upon parsing the XML file the line terminators are normalised to \n:
      http://www.xml.com/axml/target.html#sec-line-ends

      This means that next time an issue is edited the values appear different as the \r characters do not exists in the database but are sent by the web browser.

      This problem surfaces when one exports JIRA data to XML and then reimports the data.

      Attachments

        Activity

          People

            anton@atlassian.com AntonA
            anton@atlassian.com AntonA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: