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

/lib/layout/task also initiates GET request when post=true

      Simple <l:task post="true" href="someurl"/> triggers post request as expected
      but then proceeds to href as normal link do. If the URL accepts GET then request
      is sent twice (POST then GET). It if does not, after POSTing on background user get
      'POST is required' error.

          [JENKINS-28437] /lib/layout/task also initiates GET request when post=true

          Oleg Nenashev created issue -
          Oleg Nenashev made changes -
          Remote Link New: This issue links to "jenkins/pull/1702 (Web Link)" [ 12912 ]

          Daniel Beck added a comment -

          Does this affect 1.609 (for lts-candidate)?

          Daniel Beck added a comment - Does this affect 1.609 (for lts-candidate)?

          Oleg Nenashev added a comment -

          Oleg Nenashev added a comment - Daniel, seems it exists starting from 1.504 ( https://github.com/jenkinsci/jenkins/commit/b9c18a7b4c6d194645a20312352cd4d4994eafb4 )
          Daniel Beck made changes -
          Labels Original: jelly layout New: jelly layout lts-candidate

          Daniel Beck added a comment -

          Thanks for the info, Oleg!

          Daniel Beck added a comment - Thanks for the info, Oleg!

          Oleg Nenashev added a comment -

          Oleg Nenashev added a comment - Fixed by https://github.com/jenkinsci/jenkins/pull/1702
          Oleg Nenashev made changes -
          Remote Link New: This issue links to "jenkins/pull/1702 (Web Link)" [ 12923 ]
          Oleg Nenashev made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Oliver Gondža made changes -
          Labels Original: jelly layout lts-candidate New: 1.609.2-fixed jelly layout

            olivergondza Oliver Gondža
            oleg_nenashev Oleg Nenashev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: