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

Typing an import with a path should fail in 'XmlRestore'

    XMLWordPrintable

Details

    • 4.02
    • Severity 3 - Minor
    • Hide
      Atlassian Update – 16 November 2017

      Hi everyone,

      The issue has not collected enough votes, watches, comments or support cases during it's lifetime. In this sense overal interest in the reported problem is low.
      Jira team is focusing on bigger and more impactful issues at the moment and we are not likely to look at the current bug soon. Therefore I'm resolving the issue as Timed Out.

      Atlassian will continue to watch issue for the further updates, so please don't hesitate to share your feedback in the issue comments.

      Cheers,
      Ignat Alexeyenko
      Jira bugmaster.

      Show
      Atlassian Update – 16 November 2017 Hi everyone, The issue has not collected enough votes, watches, comments or support cases during it's lifetime. In this sense overal interest in the reported problem is low. Jira team is focusing on bigger and more impactful issues at the moment and we are not likely to look at the current bug soon. Therefore I'm resolving the issue as Timed Out . Atlassian will continue to watch issue for the further updates, so please don't hesitate to share your feedback in the issue comments. Cheers, Ignat Alexeyenko Jira bugmaster.

    Description

      In 4.2 we force people to restore that data from the "$JIRA_HOME/import" directory. If someone types in a file with a path "/this/path/doesnot/exists.xml" JIRA will actually try to restore "$JIRA_HOME/import/exists.xml". If the user types in a file with a path I would expect JIRA to give you an error saying "we only import files from JIRA.HOME blah blah ... <a href="cac/howto/import">import</a>....".

      We also have the same problem on the "SetupImport" screen, however, its behavior is slightly different. It still lets you type in a path to restore a file. For example if the user types in /this/path/doesnot/exists.xml JIRA will:

      1. Try to find /this/path/doesnot/exists.xml.
      2. [BUG] If this does not exist, try $JIRA_HOME/import/exists.xml.

      To me this is what should happen when the user types in $FILE:

      1. Try to find $FILE
      2. If this does not exist and $FILE has no path then try $JIRA_HOME/import/$FILE
      3. If was unable to find file, then report to the user all files that we tried to locate.

      Attachments

        Activity

          People

            Unassigned Unassigned
            bbain bain
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: