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

AbstractProjectImportTestCase.doProjectImport does not rewrite plugin's version

    XMLWordPrintable

Details

    Description

      Happening in test library 4.1-SNAPSHOT as of issue creation time.

      It may be causing tests to fail. See

      https://bamboo.developer.atlassian.com/browse/LBL-TRUNK-1858/test/it.com.atlassian.jira.plugin.labels.portlets.TestProjectImportWithLabelsCF

      The error message below in the UI when doing a project import that contains a reference to an older version of the plugin (Labels). Trunk is now v. 2.4-SNAPSHOT.

      The backup project 'monkey' requires custom field named 'Test Label Field' with full key 'com.atlassian.jira.plugin.labels:labels'. In the current instance of JIRA the plugin is at version '2.4-SNAPSHOT', but in the backup it is at version '2.1.5-SNAPSHOT'.

      https://bamboo.developer.atlassian.com/browse/LBL-TRUNK-1858/log

      I checked the File returned by AbstractProjectImportTestCase.doProjectImport(). The reference to Labels 2.1.5-SNAPSHOT in the XML wasn't updated.

      See also the test code

      Attachments

        Activity

          People

            mtokar Michael Tokar
            dchui DavidA
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: