• Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • core
    • None
    • IE 8 - Windows

      Using IE 8, the LOADING overlay does not go away on the job configure page. Per issue #6542, I am opening a new defect and attaching page source. The JS error is:

      Webpage error details

      User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.2; MS-RTC LM 8; .NET4.0C; .NET4.0E)
      Timestamp: Wed, 21 Sep 2011 13:55:25 UTC

      Message: Object required
      Line: 860
      Char: 33
      Code: 0
      URI: http://jenkins/static/89477826/scripts/hudson-behavior.js

      Thank you!

          [JENKINS-11074] LOADING Overlay does not go away - IE 8

          josh kehoe added a comment - - edited

          I ended up fixing this in my Jenkins install by modifying hudson-behavior.js. I took some blind stabs at it and it fixed the loading problem, but someone with a better working knowledge of the code may want to clean it up more. In any case, the job config page now loads in all my browsers and the LOADING overlay goes away.

          What I did:

          1) There were three or four for loops with this syntax:

           for( var depth=0; ; e=e.nextSibling) 

          IE was throwing JS errors because of the missing variable end-value (second value) in the loop. I replaced them with this syntax:

           for( var depth=0; e!=null ; e=e.nextSibling) 

          Once again, not sure if that is correct, but does the trick.

          2) Around line number 940, this line was throwing a JS error:

           var ref = start.getAttribute("ref"); 

          because start is null in some cases. I replaced the block of code with this:

                  var start = e;
                  if(start!=null) {		
          		var ref = start.getAttribute("ref");
          		if(ref==null)
          		    start.id = ref = "rowSetStart"+(iota++);
          		applyNameRef(start,end,ref);
          	}
          

          josh kehoe added a comment - - edited I ended up fixing this in my Jenkins install by modifying hudson-behavior.js. I took some blind stabs at it and it fixed the loading problem, but someone with a better working knowledge of the code may want to clean it up more. In any case, the job config page now loads in all my browsers and the LOADING overlay goes away. What I did: 1) There were three or four for loops with this syntax: for ( var depth=0; ; e=e.nextSibling) IE was throwing JS errors because of the missing variable end-value (second value) in the loop. I replaced them with this syntax: for ( var depth=0; e!= null ; e=e.nextSibling) Once again, not sure if that is correct, but does the trick. 2) Around line number 940, this line was throwing a JS error: var ref = start.getAttribute( "ref" ); because start is null in some cases. I replaced the block of code with this: var start = e; if (start!= null ) { var ref = start.getAttribute( "ref" ); if (ref== null ) start.id = ref = "rowSetStart" +(iota++); applyNameRef(start,end,ref); }

          A Serrano added a comment -

          Same issue here. Can't access the global configuration from any browser, Opera, FF, Chrome, IE9

          Jenkins ver. 1.452

          A Serrano added a comment - Same issue here. Can't access the global configuration from any browser, Opera, FF, Chrome, IE9 Jenkins ver. 1.452

          Similar issue here. A quick fix is, I have copied "hudson-behavior.js" & "autocomplete-min.js" from old jenkins version (1.410) to our newer jenkins version (1.447), cleared browsing history and it solved the problem.

          In my case culprit is both autocomplete-min.js & hudson-behavior.js
          Message: 'YAHOO.util.DataSourceBase.TYPE_JSON' is null or not an object
          Line: 7
          Char: 343
          Code: 0
          URI: http:xxxxxxxxxxxxxx/scripts/yui/autocomplete/autocomplete-min.js

          Message: Object expected
          Line: 681
          Char: 9
          Code: 0
          URI: http:xxxxxxxxxxxxxx/scripts/hudson-behavior.js

          naveen karnati added a comment - Similar issue here. A quick fix is, I have copied "hudson-behavior.js" & "autocomplete-min.js" from old jenkins version (1.410) to our newer jenkins version (1.447), cleared browsing history and it solved the problem. In my case culprit is both autocomplete-min.js & hudson-behavior.js Message: 'YAHOO.util.DataSourceBase.TYPE_JSON' is null or not an object Line: 7 Char: 343 Code: 0 URI: http:xxxxxxxxxxxxxx/scripts/yui/autocomplete/autocomplete-min.js Message: Object expected Line: 681 Char: 9 Code: 0 URI: http:xxxxxxxxxxxxxx/scripts/hudson-behavior.js

          Oleg Nenashev added a comment -

          The issue seems to be outdated
          Cannot reproduce on 1.509.4. JENKINS-19457 should also help

          Oleg Nenashev added a comment - The issue seems to be outdated Cannot reproduce on 1.509.4. JENKINS-19457 should also help

            Unassigned Unassigned
            kehoejo josh kehoe
            Votes:
            5 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: