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

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

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Issue Links

            Activity

            oleg_nenashev Oleg Nenashev created issue -
            oleg_nenashev Oleg Nenashev made changes -
            Field Original Value New Value
            Remote Link This issue links to "jenkins/pull/1702 (Web Link)" [ 12912 ]
            Hide
            danielbeck Daniel Beck added a comment -

            Does this affect 1.609 (for lts-candidate)?

            Show
            danielbeck Daniel Beck added a comment - Does this affect 1.609 (for lts-candidate)?
            Hide
            oleg_nenashev Oleg Nenashev added a comment -
            Show
            oleg_nenashev Oleg Nenashev added a comment - Daniel, seems it exists starting from 1.504 ( https://github.com/jenkinsci/jenkins/commit/b9c18a7b4c6d194645a20312352cd4d4994eafb4 )
            danielbeck Daniel Beck made changes -
            Labels jelly layout jelly layout lts-candidate
            Hide
            danielbeck Daniel Beck added a comment -

            Thanks for the info, Oleg!

            Show
            danielbeck Daniel Beck added a comment - Thanks for the info, Oleg!
            Show
            oleg_nenashev Oleg Nenashev added a comment - Fixed by https://github.com/jenkinsci/jenkins/pull/1702
            oleg_nenashev Oleg Nenashev made changes -
            Remote Link This issue links to "jenkins/pull/1702 (Web Link)" [ 12923 ]
            oleg_nenashev Oleg Nenashev made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            olivergondza Oliver Gondža made changes -
            Labels jelly layout lts-candidate 1.609.2-fixed jelly layout
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 163277 ] JNJira + In-Review [ 197158 ]

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: