Breaks JIRA 5.1 in IE8

Issue #14 resolved
Former user created an issue

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)

  1. Valentijn Scholten

    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).

  2. Holger Schimanski 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

  3. Valentijn Scholten

    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.

  4. Valentijn Scholten

    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

  5. Valentijn Scholten

    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 + ???.

  6. Valentijn Scholten

    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.

  7. Holger Schimanski repo owner

    I updated to the latest JavaScript and CSS sources from Alex Syntaxhighlighter where this problem is fixed by updating XRegExp.

  8. Log in to comment