When browsing issues in jira, it takes a long time (>10 seconds) to load and some css / javascript seems to be missing.
Additionally, the javascript console (in chrome) reports some warnings and errors.
The URL of my jira instance: http://jira.evefit.org/issues/?filter=-4
The css files that are unable to load according to chrome:
The javascript warnings:
Your are trying to create a ToggleBlock with selector '.toggle-trigger'.One already exists with this trigger so has been ignored. batch.js:2686
Your are trying to create a ToggleBlock with selector '.toggle-trigger'.One already exists with this trigger so has been ignored. batch.js:2686
Resolution from the support ticket:
Hi Diego,
Looking at the following stack trace:javax.imageio.IIOException: Can't create output stream! Caused by: javax.imageio.IIOException: Can't create cache file! Caused by: java.io.IOException: Permission deniedTypically this means that the image file cant be written to the temp folder. Can I please ask you to check whether the JIRA user has permissions to write to the temp directory in {atlassian install}/temp. You can check the temp folder by going to Administrator > System Info and looking for -Djava.io.tmpdir = XXXX under the JVM arguments. You can change this folder if you like by altering this argument and setting the startup value.
Please do let us know how it goes for you.
Cheers,
Vicky.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If anyone else has this problem: when I had this JS-Issue, after quite some troubleshooting we found out (with Vicky) that reindexing solves the problem.
As a result it turns out that if the index is not being rebuilt after an upgrade, this can lead to the JS-Error (my guess is that data retrieved from the GUI does not correctly relate to data at the backend). I would therefore recommend that upgrading GH either automatically does reindexing or a WARNING should come up telling the user to do so.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Stefan, so, you say re indexing solves the batch.js script file warnings and display problems?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Seeing the same issue. Slow dashboard loading and "Your are trying to create a ToggleBlock with selector '.toggle-trigger'.One already exists with this trigger so has been ignored." in javascript console. Using JIRA (v5.2#812-sha1:c4fbab6).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.