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

Manual Backup Data to XML fails without warning when filename contains a colon character under WinXP.

    XMLWordPrintable

Details

    Description

      On manually creating a Backup XML file of JIRA I accidentally typed a file name with a colon ( ":" ) character inside the file name.
      JIRA reports the file was created successfully but it only creates an empty file, obviously because windows can't handle filenames with colon characters. So it should have reported that the filename wasn't correct.

      I checked the other special characters (\/*?<>) but for those it does rightfully create an error message.

      Replication steps:
      Administration window
      Backup data to XML
      Type file name: "C:/JIRA/Backups/Test_:.xml" or "C:/JIRA/Backups/Test:_.zip" (note colon char in the filename)
      JIRA reports: "Data exported to C:\JIRA\Backups\Test_:_.xml."
      Now check backups folder.
      It should have created a empty file: "Test_"

      Attachments

        Activity

          People

            dushan@atlassian.com Dushan Hanuska [Atlassian]
            3d8edc763f56 W. van Beelen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h
                2h