[ 
https://issues.jenkins-ci.org/browse/JENKINS-12975?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=159813#comment-159813
 ] 

Allan Beaufour commented on JENKINS-12975:
------------------------------------------

This "fixes" it:
[[

--- hudson-behavior.js.orig     2012-03-04 16:27:53.000000000 -0500
+++ hudson-behavior.js  2012-03-04 16:27:05.000000000 -0500
@@ -29,6 +29,10 @@
 //     for memory leak patterns and how to prevent them.
 //
 
+if (console && console.log) {
+    console.log('Running patched version of hudson-behavior.js');
+}
+
 // create a new object whose prototype is the given object
 function object(o) {
     function F() {}
@@ -341,7 +345,13 @@
     var method = e.getAttribute("checkMethod");
     if (!method) method = "get";
 
-    var url = e.targetUrl();
+    try {
+       var url = e.targetUrl();
+    } catch (e) {
+       if (console && console.log) {
+           console.log('Got exception: ' + e);
+       }
+    }
     try {
       FormChecker.delayedCheck(url, method, e.targetElement);
     } catch (x) {
]]
                
> Configure screen broken (javascript error: findMatchingInput)
> -------------------------------------------------------------
>
>                 Key: JENKINS-12975
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12975
>             Project: Jenkins
>          Issue Type: Bug
>          Components: gui
>    Affects Versions: current
>         Environment: Jenkins ver. 1.451, Ubuntu 10.04
>            Reporter: Allan Beaufour
>         Attachments: Configure System [Jenkins].jpg
>
>
> I can no longer Configure my Jenkins install. When I hit /configure the 
> "Loading" indicator never disappears (see screenshot). The javascript console 
> has this error:
> [[
> Uncaught TypeError: Object #<Object> has no method 'findMatchingInput'
> (anonymous function)
> e.targetUrlhudson-behavior.js:338
> registerValidatorhudson-behavior.js:343
> applybehavior.js:73
> (anonymous function)behavior.js:79
> Behaviour.applySubtreebehavior.js:68
> Behaviour.applybehavior.js:54
> (anonymous function)behavior.js:49
> window.onload
> ]]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to