Breaks JIRA 5.1 in IE8
Hello,
Just upgraded from jira 5.0.6 to 5.1.5.
In IE8 JIRA no longer works due to javascript errors:
Foutdetails webpagina
Gebruikersagent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729) Tijdstempel: Fri, 28 Sep 2012 08:21:34 UTC
Bericht: 'undefined' is leeg of geen object Regel: 2 Teken: 32039 Code: 0 URI: https://jira.isaac.nl/s/en_UKtffs4m/784/18/1/_/download/superbatch/js/batch.js
Bericht: 'AG.param' is leeg of geen object Regel: 6 Teken: 4174 Code: 0 URI: https://jira.isaac.nl/s/en_UKtffs4m/784/18/3.2.0-m2/_/download/batch/com.atlassian.gadgets.dashboard:dashboard/com.atlassian.gadgets.dashboard:dashboard.js
Bericht: 'undefined' is leeg of geen object Regel: 2 Teken: 32039 Code: 0 URI: https://jira.isaac.nl/s/en_UKtffs4m/784/18/1/_/download/superbatch/js/batch.js
I will try to attach a screenshot as well.
When I disable JIRA Syntax Highlighint Plugin, all is good again.
BTW 1.5.3 is missing from the version dropdown when creating bug report.
Comments (15)
-
-
BTW plugin works fine in Chrome, FF, IE9.
If needed I can provide access to my jira to demonstrate (errors happen even before login btw).
-
- attached jira - Remote Desktop Connection_2012-09-27_12-06-27.png
- attached jira - Remote Desktop Connection_2012-09-27_12-06-40.png
-
repo owner - edited description
Please have a look at https://jira.atlassian.com/browse/JRA-28869.
Looks like some strange IE8 browser cache problem, which is related to JIRA update. JIRA Syntax Highlighter has nothing to do with batch.js.
Could you please check that
- you have cleared their javascript cache
- you are not running in compatibility mode.
Kind regards Holger
-
repo owner - changed version to 1.5.3
-
Yeah,batch.js is some jquery file. I created a support case, but since disabling this plugin solves the problem there seems to be a connection. I cleared caches and tried multiple machines.
-
fyi I just installed 1.0.5 of the plugin, but same problem.
-
Could you take a look at: http://stackoverflow.com/questions/9753277/ie-bug-with-syntaxhighlighter-and-jquery-unable-to-get-value-of-the-property
And
http://bugs.jquery.com/ticket/10961
Looks like the syntax highlighter from Alex overrides some system properties that could cause these kind of errors. Jira uses jquery 1.7.1 so that might need an upgrade, what about this jira plugin?
Another link: https://bitbucket.org/alexg/syntaxhighlighter/issue/220/ie-only-conflict-with-jquery-animate
-
Please note batch.js is nothing more than a bunch of js files combined together it seems. It contains both the jquery.js contents + AUI contents + ???.
-
Atlassian support had contact with one of their developers:
"So the plugin author on that bitbucket issue is wrong. The file we're talking about here is https://jira.isaac.nl/s/en_UK-dy41g5/784/18/c2a7727dce0d2b207fba2ddee8e565e7/_/download/contextbatch/js/jira.general/batch.js. If you look at the URL you'll notice that it includes contextbatch/js/jira.general. So in other words this is a js file that's a batch of all web-resources added to the <context>jira.general</context>. In other words any plugin can add to this file. This also explains why running in safe mode fixes this problem. The breaking javascript here is being provided by a plugin. I searched through JIRA source for some of the javascript that's being included in https://jira.isaac.nl/s/en_UK-dy41g5/784/18/c2a7727dce0d2b207fba2ddee8e565e7/_/download/contextbatch/js/jira.general/batch.js and wasn't able to find anything (e.g. jQuery tools, or those console.log statements)."
Could you please take a look? As you can see in the plugin review I am not the only one experiencing this issue.
Thanks.
-
repo owner Many thanks for taking the time to investigate the problem. I was not aware of the batch.ja mechanism.
I have added the JS files to atl.general context so far
I will try to work on more specific context jira.view.issue and jira.create.issue as described in https://developer.atlassian.com/display/JIRADEV/Web+Resource+Plugin+Module#WebResourcePluginModule-contextsforjira
-
repo owner - changed title to Breaks JIRA 5.1 in IE8
-
repo owner - changed milestone to 1.6.0
- edited description
-
repo owner - changed status to resolved
I updated to the latest JavaScript and CSS sources from Alex Syntaxhighlighter where this problem is fixed by updating XRegExp.
-
repo owner - removed version
Removing version: 1.5.3 (automated comment)
- Log in to comment
I wasn't logged in when I created this issue, just to let you know who reported it.