Uploaded image for project: 'Xporter for Jira'
  1. Xporter for Jira
  2. XPORTER-3193

When rollbacking from Xporter version which has new scopes, the Templates do not appear

    XporterXMLWordPrintable

Details

    • OK

    Description

      When rollbacking from Xporter 6.4.0, the Templates do not appear.

      Steps to reproduce:

      1. Install Xporter 6.4.0 and add the scope "Automation for Jira" to a Template
      2. Uninstall Xporter and install a previous version.
      3. Go to Templates page, the templates do not load and an error appears in the logs:
        2020-03-02 17:28:08,914+0000 http-nio-8080-exec-7 ERROR admin2 1046x4802x1 1k5j9l1 0:0:0:0:0:0:0:1 /rest/jiraxporter/1.0/templates/admin/ [c.x.j.rest.services.TemplatesRestService] A sql exception has occured.
        java.lang.NullPointerException
        	at java.util.Objects.requireNonNull(Objects.java:203)
        	at com.xpandit.jiraxporter.rest.services.TemplatesRestService.lambda$mapToTemplateResource$8(TemplatesRestService.java:963)
        

      Attachments

        Activity

          People

            rmbr Rui Rodrigues
            hjfr Hugo Rodrigues [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours
                2h