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

The JIRA UI is broken after hitting JIRA during an import in OnDemand

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Medium
    • None
    • 5.0
    • None
    • studio-fireball-j5-snapshot-nightly-226

    Description

      1) Start up a JOD instance with 5.0
      2a) Using webdav, upload the attached data file to https://<instance>.jira-dev.com/webdav
      2b) Alternatively, scp the file to /data/jirastudio/webdav and chmod 666 it.
      3) As an admin, use the customer-facing JIRA Importer UI tool to import the data file.
      4) While the import is in progress, in another tab or browser, make requests to the instance until you start getting JavaScript errors in the second tab.

      Once it's complete, the JIRA UI is quite broken. It's looking like the JIRA bundled plugins (dashboards, AJS, etc) are missing. In some cases the UI looks OK but none of the JavaScript works.

      Here's what the dashboard looks like in some cases:

      There are lots of JavaScript errors:

      SCRIPT5009: 'AJS' is undefined 
      batch.js, line 1 character 1
      SCRIPT5009: 'AJS' is undefined 
      batch.js?cache=false, line 1 character 2
      SCRIPT438: Object doesn't support property or method '$' 
      batch.js, line 3 character 13
      SCRIPT5007: Unable to get value of the property 'namespace': object is null or undefined 
      batch.js, line 1 character 14
      SCRIPT5009: 'jQuery' is undefined 
      batch.js, line 1 character 1
      SCRIPT5009: 'jQuery' is undefined 
      com.atlassian.gadgets.dashboard:dashboard.js, line 1 character 25
      SCRIPT5009: 'Calendar' is undefined 
      jira.webresources:calendar-en.js, line 1 character 1
      SCRIPT438: Object doesn't support property or method '$' 
      Dashboard.jspa, line 112 character 9
      SCRIPT5007: Unable to get value of the property 'DashboardManager': object is null or undefined 
      Dashboard.jspa, line 387 character 9
      SCRIPT438: Object doesn't support property or method 'toInit' 
      contentnamesearch.js, line 3 character 5
      SCRIPT438: Object doesn't support property or method 'toInit' 
      split_button.js, line 5 character 1
      SCRIPT438: Object doesn't support property or method 'toInit' 
      userstatus.js, line 5 character 1
      SCRIPT5009: 'jQuery' is undefined 
      safe-ajax.js, line 5 character 5
      
      • Reproduces in both JIRA-only mode and full JIRA Studio
      • Reproduces with GApps and non-GApps
      • Does not reproduce with the same import file in BTF
      • Happened independently for both Panna and me on different instances.

      Restarting JIRA fixes it again - problems with the plugin system?

      Attachments

        Issue Links

          Activity

            People

              tcampbell Trevor Campbell (Inactive)
              pwyatt Penny Wyatt (On Leave to July 2021)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: