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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: subversion-plugin
    • Labels:
      None
    • Environment:
      Platform: All, OS: All
    • Similar Issues:

      Description

      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

        Attachments

          Activity

          Hide
          dwdyer 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.

          Show
          dwdyer 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.
          Hide
          kohsuke 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;
          }

          Show
          kohsuke 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; }

            People

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

              Dates

              Created:
              Updated:
              Resolved: