Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-1056

Config sections for Subversion repository browsers not correctly show/hidden in Opera

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • subversion-plugin
    • None
    • Platform: All, OS: All

      Opera shows the config fields for all of the repository browsers rather than
      just the currently selected one.

      This appears to be due to a JavaScript error:

      message: Statement on line 664: Could not convert undefined or null to object
      Backtrace:
      Line 664 of linked script http://192.168.2.10:8080/static/bba22259/scripts/
      hudson-behavior.js
      td.style.display = show ? "" : "none";
      Line 1 of script
      updateDropDownList(this);
      At unknown location

          [JENKINS-1056] Config sections for Subversion repository browsers not correctly show/hidden in Opera

          dwdyer added a comment -

          The updateDropDownList function is failing because of a previous problem in the
          JavaScript in dropdownListBlock.jelly:

          <script>
          $$('${id}').forms.push({
          start: $$('${sid}'),
          end: $$('${eid}')
          });
          </script>

          Opera complains of a type mismatch. I am struggling to come up with a
          variation that Opera likes or to determine a definitive explanation for why
          Opera complains about it.

          I think I'm going to have to defer to somebody who is a bit more of a
          JavaScript guru than I am.

          dwdyer added a comment - The updateDropDownList function is failing because of a previous problem in the JavaScript in dropdownListBlock.jelly: <script> $$('${id}').forms.push({ start: $$('${sid}'), end: $$('${eid}') }); </script> Opera complains of a type mismatch. I am struggling to come up with a variation that Opera likes or to determine a definitive explanation for why Opera complains about it. I think I'm going to have to defer to somebody who is a bit more of a JavaScript guru than I am.

          Fixed in 1.160.

          Starting Opera 9, Opera added WebForms 2.0 support
          <http://dev.opera.com/forums/topic/169941>, and this spec apparently reserves
          the 'forms' attribute. See section 7 of the spec
          <http://www.whatwg.org/specs/web-forms/current-work/#url>, in particular:

          interface HTMLSelectElement : HTMLElement {
          ...
          readonly attribute NodeList forms;
          }

          Kohsuke Kawaguchi added a comment - Fixed in 1.160. Starting Opera 9, Opera added WebForms 2.0 support < http://dev.opera.com/forums/topic/169941 >, and this spec apparently reserves the 'forms' attribute. See section 7 of the spec < http://www.whatwg.org/specs/web-forms/current-work/#url >, in particular: interface HTMLSelectElement : HTMLElement { ... readonly attribute NodeList forms; }

            Unassigned Unassigned
            dwdyer dwdyer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: