groovy
  1. groovy
  2. GROOVY-5388

Website code samples do not display

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      IE8, FF7.0.1, IE9 (compat mode)
    • Number of attachments :
      1

      Description

      I would rate this as MAJOR/BLOCKER.

      In IE8 (either plain or compatibility modes) and Firefox 7.0.1, when I browse to ANY page with code examples, I see no code.

      See attached.

      I can't even copy/paste hidden text. The code IS in the source...just not shown.

      I note that the code blocks are wrapped in <script type="syntaxhilighter"> tags so a javascript bug?

      It was pointed out to me when I sent a colleague to look at:

      http://groovy.codehaus.org/Reading+XML+using+Groovy's+XmlSlurper

      With IE8 this is an issue for nearly all code examples on the site...except on the front page, which are formatted differently!

      In Recent FF/Safari 5/IE 9.0.8xxx (native mode) all is OK. But of course, IE8 (recently updated from IE6) is the corporate standard for the organisation I am currently at...

      Thus my comment about the bug being major/blocker priority. As my colleagues throw at me: "Why adopt a technology from a group that can't even make a working website?" Not my words. And yes, harsh. Makes my evangelising rather hard/futile.

      Thought I'd seen this happen before...in the early days of the last site makover. Thought it was fixed? my recollection says that it is something that the mysterious "Codehaus Site Administrators" have to take a look at?

      I posted at http://groovy.329449.n5.nabble.com/Website-code-samples-missing-td5602131.html but heard nothing, hence opened this JIRA.

      Cheers,

      BOB

        Activity

        Hide
        Guillaume Laforge added a comment -

        I think I've fixed the issue for now.
        I've tested that on a Windows 7 VM with Internet Explorer 8.
        I'm gonna close the issue, but please reopen if the problem persist.
        I've made a check for the browser, and blindly check if it's IE, but perhaps IE 9 doesn't need that, so I perhaps need a smarter IE version check than I've implemented.
        Please IE users, tell me how it goes on different versions of IE.
        Thanks.

        Show
        Guillaume Laforge added a comment - I think I've fixed the issue for now. I've tested that on a Windows 7 VM with Internet Explorer 8. I'm gonna close the issue, but please reopen if the problem persist. I've made a check for the browser, and blindly check if it's IE, but perhaps IE 9 doesn't need that, so I perhaps need a smarter IE version check than I've implemented. Please IE users, tell me how it goes on different versions of IE. Thanks.
        Hide
        Paul King added a comment - - edited

        At one customer site with IE8 (on Windows Server 2008 R2) I still get:

        Webpage error details
        
        User Agent: 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)
        Timestamp: Mon, 2 Apr 2012 23:11:25 UTC
        
        Message: 'jQuery' is undefined
        Line: 12
        Char: 1
        Code: 0
        URI: http://groovy.codehaus.org/js/jquery.jBreadCrumb.1.1.js
        
        Message: Object expected
        Line: 4
        Char: 1
        Code: 0
        URI: http://groovy.codehaus.org/js/pageLookup.js
        
        Show
        Paul King added a comment - - edited At one customer site with IE8 (on Windows Server 2008 R2) I still get: Webpage error details User Agent: 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) Timestamp: Mon, 2 Apr 2012 23:11:25 UTC Message: 'jQuery' is undefined Line: 12 Char: 1 Code: 0 URI: http://groovy.codehaus.org/js/jquery.jBreadCrumb.1.1.js Message: Object expected Line: 4 Char: 1 Code: 0 URI: http://groovy.codehaus.org/js/pageLookup.js
        Hide
        Guillaume Laforge added a comment -

        It looks as if the jQuery library isn't being loaded.
        Perhaps there's a proxy issue or some security setting which disallow loading javascript scripts from remote locations.
        I was using the Google hosting of JavaScript libraries, and now switched to serving my own jQuery library right from the Groovy server instead.
        Could you please check if it's working any better now?

        Show
        Guillaume Laforge added a comment - It looks as if the jQuery library isn't being loaded. Perhaps there's a proxy issue or some security setting which disallow loading javascript scripts from remote locations. I was using the Google hosting of JavaScript libraries, and now switched to serving my own jQuery library right from the Groovy server instead. Could you please check if it's working any better now?

          People

          • Assignee:
            Guillaume Laforge
            Reporter:
            alpheratz
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: