• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • IE8..10 Compatibility View
      build-timeout-1.11
      Jenkins version: 1.480.3, 1.509.2, 1.509.3

      Issue causes error after clicking on "Apply button" in Job's configuration (in IE with CompatView). Browser opens an empty new page, previous page shows an empty error box. BTW, "save" button works well..

      Examples of erroneous requests:

      • "/job/MY_JOB/descriptorByName/hudson.plugins.build_timeout.BuildTimeoutWrapper/fillTimeoutPercentageItems"
      • "/job/MY_JOB_2/descriptorByName/com.cloudbees.jenkins.plugins.sshagent.SSHAgentBuildWrapper/fillUserItems"
      • ...

      Exception message: Invalid argument

          [JENKINS-19826] Apply button does not work in IE Compat View

          Oleg Nenashev created issue -
          Oleg Nenashev made changes -
          Environment Original: IE 8..10
          build-timeout-1.11
          New: IE 8..10
          build-timeout-1.11
          Jenkins version: 1.480.3, 1.509.2, 1.509.3

          Oleg Nenashev added a comment -

          Callstack:

          dispatchException (hudson-behavior.js:2195)
          respondToReadyState (prototype.js:1659) // readystate=4; response text is filled correctly, but response.headerJSON is null
          onStateChange (prototype.js:1600)
          Anonymous function (prototype.js:414)

          Oleg Nenashev added a comment - Callstack: dispatchException (hudson-behavior.js:2195) respondToReadyState (prototype.js:1659) // readystate=4; response text is filled correctly, but response.headerJSON is null onStateChange (prototype.js:1600) Anonymous function (prototype.js:414)

          Oleg Nenashev added a comment -

          Issue seems to be caused by errors handling in Compat View. Error in Chrome is not related.

          Workaround 1: Don't use Compat View

          Proposal: Add X-UA-Compatible stub to generated HTML pages:

          <meta http-equiv="X-UA-Compatible" content="IE=11; IE=10; IE=9; IE=8; IE=7; IE=EDGE" />
          

          Sources:
          [1]: http://msdn.microsoft.com/en-us/library/ms533876%28VS.85%29.aspx
          [2]: http://twigstechtips.blogspot.ru/2010/03/css-ie8-meta-tag-to-disable.html

          Oleg Nenashev added a comment - Issue seems to be caused by errors handling in Compat View. Error in Chrome is not related. Workaround 1: Don't use Compat View Proposal: Add X-UA-Compatible stub to generated HTML pages: <meta http-equiv= "X-UA-Compatible" content= "IE=11; IE=10; IE=9; IE=8; IE=7; IE=EDGE" /> Sources: [1] : http://msdn.microsoft.com/en-us/library/ms533876%28VS.85%29.aspx [2] : http://twigstechtips.blogspot.ru/2010/03/css-ie8-meta-tag-to-disable.html
          Oleg Nenashev made changes -
          Environment Original: IE 8..10
          build-timeout-1.11
          Jenkins version: 1.480.3, 1.509.2, 1.509.3
          New: IE8..10 Compatibility View
          build-timeout-1.11
          Jenkins version: 1.480.3, 1.509.2, 1.509.3
          Priority Original: Blocker [ 1 ] New: Major [ 3 ]
          Summary Original: JavaScript error corrupts Apply button in IE (and Chrome?) New: JavaScript error corrupts Apply button in IE10 Compat View
          Oleg Nenashev made changes -
          Summary Original: JavaScript error corrupts Apply button in IE10 Compat View New: JavaScript errors corrupt Apply button in IE10 Compat View

          Oleg Nenashev added a comment -

          Seems that issue is related to fillXXXItems() from f:select only

          Oleg Nenashev added a comment - Seems that issue is related to fillXXXItems() from f:select only
          Oleg Nenashev made changes -
          Component/s New: core [ 15593 ]
          Assignee Original: Kohsuke Kawaguchi [ kohsuke ]
          Description Original: Issue causes error after clicking on "Apply button" in Job's configuration (in IE and Chrome), so I've marked issue as a blocker.

          Request:
          "/job/MY_JOB/descriptorByName/hudson.plugins.build_timeout.BuildTimeoutWrapper/fillTimeoutPercentageItems"

          Exception message: Invalid argument




          New: Issue causes error after clicking on "Apply button" in Job's configuration (in IE and Chrome), so I've marked issue as a blocker.

          Examples of erroneous requests:
          * "/job/MY_JOB/descriptorByName/hudson.plugins.build_timeout.BuildTimeoutWrapper/fillTimeoutPercentageItems"
          * "/job/AMY_JOB_2/descriptorByName/com.cloudbees.jenkins.plugins.sshagent.SSHAgentBuildWrapper/fillUserItems"
          * ...

          Exception message: Invalid argument




          Labels New: error f:select javascript webpage
          Oleg Nenashev made changes -
          Description Original: Issue causes error after clicking on "Apply button" in Job's configuration (in IE and Chrome), so I've marked issue as a blocker.

          Examples of erroneous requests:
          * "/job/MY_JOB/descriptorByName/hudson.plugins.build_timeout.BuildTimeoutWrapper/fillTimeoutPercentageItems"
          * "/job/AMY_JOB_2/descriptorByName/com.cloudbees.jenkins.plugins.sshagent.SSHAgentBuildWrapper/fillUserItems"
          * ...

          Exception message: Invalid argument




          New: Issue causes error after clicking on "Apply button" in Job's configuration (in IE with CompatView).

          Examples of erroneous requests:
          * "/job/MY_JOB/descriptorByName/hudson.plugins.build_timeout.BuildTimeoutWrapper/fillTimeoutPercentageItems"
          * "/job/AMY_JOB_2/descriptorByName/com.cloudbees.jenkins.plugins.sshagent.SSHAgentBuildWrapper/fillUserItems"
          * ...

          Exception message: Invalid argument




          can you give 1.12 a try ?
          I can't reproduce this error with 1.509/1.12 on Chrome (don't have IE to test)

          Nicolas De Loof added a comment - can you give 1.12 a try ? I can't reproduce this error with 1.509/1.12 on Chrome (don't have IE to test)

            oleg_nenashev Oleg Nenashev
            oleg_nenashev Oleg Nenashev
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: