Uploaded image for project: 'Jira Service Management Data Center'
  1. Jira Service Management Data Center
  2. JSDSERVER-2932

The SLA goals screen takes a long time to load and may not appear at all

    XMLWordPrintable

Details

    • Bug
    • Resolution: Tracked Elsewhere
    • Medium
    • None
    • 2.5.8
    • SLA

    Description

      Summary

      When loading the 'SLA goals' page, it takes a very long time to load and in certain situations the AJAX timeout may kick in and prevent the page from properly loading. This appears as per the attached screenshot - no data is populated.

      Environment

      This was reproduced on Oracle 11g, however could also occur on MS SQL.

      Steps to Reproduce

      1. Setup a SLA with a decent number of goals - this was repro'd with 80.
      2. Access the SLA tab.

      Expected Results

      The page loads quickly, retrieving the appropriate results.

      Actual Results

      The page takes a significant amount of time to load, and in some cases may fail to load altogether as the AJAX timeout kicks in (this is 1 minute).

      Workaround

      Increasing the timeout may allow the page to eventually load - this can be done with the following:

      1. Open Chrome Developer Tools, select the console and enter the below (this sets a timeout of 10 minutes):
        jQuery.ajaxSetup({timeout:600000});
        
      2. Click on the SLA tab (open it in the same window, not a new one).
      3. The page should eventually populate, after the SQL has finished executing and the results are returned.

      This workaround will only apply to the window that argument is set in - there's not an easy way to apply it to the entire instance.

      Notes

      This is caused by a bug in the Active Objects library, which is tracked in AO-565. Upgrading to JIRA 7 or higher will fix this problem, as it contains the fixed version of the Active Objects library.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dcurrie@atlassian.com Dave C
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Backbone Issue Sync