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

CSV Import - bad file format causes browser issue

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 6.1.6
    • 6.0.3
    • standalone on Apache Tomcat/7.0.29
      JDK 1.7.0_15
      Windows Server 2008 6.0B

    Description

      Repro steps

      1. Log in as a JIRA admin.
      2. Click the Gear, then System (under Administration)
      3. Choose a CSV import
      4. Browse to the attached Jira_Import.csv
      5. Set CSV Delimiter to tab \t
      6. Click next
      7. Select any active JIRA project, hit next
      8. Map fields: (1) Issue Key to Issue Key (2) Summary to Summary
      9. Click next.

      EXPECTED:
      Error page with a complaint about the contents of the fields in CSV. The following should be displayed on the screen.

      org.supercsv.exception.SuperCsvException: unexpected end of file while reading quoted column beginning on line 688 and ending on line 699

      ACTUAL:
      Browser reports a "Content Encoding Error" (Firefox). (screen shot attached in jira1.png). IE and Chrome also display no error specifics. Debugging in Fiddler is necessary to find the actual cause of the error.

      Full JIRA HTTP response from Fiddler is attached in 4_Response.txt

      NOTE: I figured out how to fix the input file, there are smart quotes and other bad characters in it. The request is that I don't have to debug in Fiddler to figure this out Please change JIRA to display the HTML in the HTTP 500 response.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ba725ecf98af Barett McGavock
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: