Project import failing without attachments.

XMLWordPrintable

    • 3.13

      Whenever you try to import a project without attachments the process fails. Error reads:

      There was a problem parsing the backup XML file at /Users/jcostello/jiraeditions/atlassian-jira-enterprise-3.13-standalone/customerdata.zip: A file attachment with id '11978' must have a file name specified.
      

      Steps to reproduce;
      1. Import a Project from xml or zip
      2. Do not define attachments
      3. Follow the import process. On the third screen the error message will appear.

      KNOWN FIX

      Go into the xml backup, find the line with the error by id:
      Example broken line: Notice filename=""

       <FileAttachment id="11978" issue="15356" mimetype="application/octet-stream" filename="" created="2005-01-31 11:32:17.0" filesize="33280" author="cvp"/>
      

      Example Fix: change the filename="somefile.bin" or to whatever you would like it to be named.

       <FileAttachment id="11978" issue="15356" mimetype="application/octet-stream" filename="somefile.bin" created="2005-01-31 11:32:17.0" filesize="33280" author="cvp"/>
      

      JIRA will then allow the import process to proceed.

              Assignee:
              Mark Lassau (Inactive)
              Reporter:
              Jonathan Costello [Atlassian]
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 4h
                  4h