Issue description with XML elements breaks backups

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: High
    • None
    • Affects Version/s: 3.0.3
    • None
    • 3

      Embedding piece of XML containing CDATA section in "description" field caused SAX parser to fail.

      To reproduce this bug:

      1. Establish jira instance with working backup/restore mechanism.
      2. Enter new issue with description containing following text:

      <Err_Msg><![CDATA[WM returned error 3 [OutDoc::initFromXML:No processing
      instruction starts with 'xml']]]></Err_Msg>

      3. Do backup.
      4. Try to restore - jira will return: Exception occurred: org.xml.sax.SAXParseException: The element type "description" must be terminated by the matching end-tag "</description>".

            Assignee:
            Unassigned
            Reporter:
            Andrew Michalec
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: