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

"Delete Project" link fails with 403 Exception: No valid crumb was included in the request

      Unable to delete any project.

        1. 18032-1.png
          18032-1.png
          199 kB
        2. 18032-2.png
          18032-2.png
          24 kB
        3. screenshot-1.png
          screenshot-1.png
          31 kB

          [JENKINS-18032] "Delete Project" link fails with 403 Exception: No valid crumb was included in the request

          Wei-min Lee added a comment -

          This happens from the Dashboard view when you choose Delete Project from the project dropdown menu.

          Wei-min Lee added a comment - This happens from the Dashboard view when you choose Delete Project from the project dropdown menu.

          Roman Pickl added a comment -

          i can confirm this in version 1.596.3

          Roman Pickl added a comment - i can confirm this in version 1.596.3

          Hany Fahim added a comment - - edited

          This issue also appears to affect 1.620. Are there any workarounds for this? I can confirm that the crumb header makes it through with other requests, just not when deleting, and possibly others as well.

          Hany Fahim added a comment - - edited This issue also appears to affect 1.620. Are there any workarounds for this? I can confirm that the crumb header makes it through with other requests, just not when deleting, and possibly others as well.

          Daniel Beck added a comment -

          Appears to only affect the "Delete Project" link in the popup menu. Workaround is then to navigate to the project and click the link there.

          Anyone experiencing something different?

          Daniel Beck added a comment - Appears to only affect the "Delete Project" link in the popup menu. Workaround is then to navigate to the project and click the link there. Anyone experiencing something different?

          I have the same issue, and the workaround is the same as mentioned by danielbeck Navigate to the project >> Delete Project (on the left hand side) >> and confirm.

          Sumith Augustine added a comment - I have the same issue, and the workaround is the same as mentioned by danielbeck Navigate to the project >> Delete Project (on the left hand side) >> and confirm.

          Daniel Beck added a comment -

          Easy workaround is present (see preceding comments), so lowering priority.

          Daniel Beck added a comment - Easy workaround is present (see preceding comments), so lowering priority.

          Code changed in jenkins
          User: Jesse Glick
          Path:
          core/src/main/resources/lib/layout/breadcrumbs.js
          http://jenkins-ci.org/commit/jenkins/57fced93596b1f8bd69f00f154430a11530393de
          Log:
          [FIXED JENKINS-18032] Crumbs must be appended when using post=true requiresConfirmation=true.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: core/src/main/resources/lib/layout/breadcrumbs.js http://jenkins-ci.org/commit/jenkins/57fced93596b1f8bd69f00f154430a11530393de Log: [FIXED JENKINS-18032] Crumbs must be appended when using post=true requiresConfirmation=true.

          Code changed in jenkins
          User: Daniel Beck
          Path:
          core/src/main/resources/lib/layout/breadcrumbs.js
          http://jenkins-ci.org/commit/jenkins/37111bf12e5038fcd240bbefb3aa9474e45585c2
          Log:
          Merge pull request #2131 from jglick/requiresConfirmation-post-context-menu-JENKINS-18032

          JENKINS-18032 Fix Delete Project from context menu when using CSRF defense

          Compare: https://github.com/jenkinsci/jenkins/compare/35ec989afffc...37111bf12e50

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Daniel Beck Path: core/src/main/resources/lib/layout/breadcrumbs.js http://jenkins-ci.org/commit/jenkins/37111bf12e5038fcd240bbefb3aa9474e45585c2 Log: Merge pull request #2131 from jglick/requiresConfirmation-post-context-menu- JENKINS-18032 JENKINS-18032 Fix Delete Project from context menu when using CSRF defense Compare: https://github.com/jenkinsci/jenkins/compare/35ec989afffc...37111bf12e50

          dogfood added a comment -

          Integrated in jenkins_main_trunk #4511
          [FIXED JENKINS-18032] Crumbs must be appended when using post=true (Revision 57fced93596b1f8bd69f00f154430a11530393de)

          Result = SUCCESS
          jesse glick : 57fced93596b1f8bd69f00f154430a11530393de
          Files :

          • core/src/main/resources/lib/layout/breadcrumbs.js

          dogfood added a comment - Integrated in jenkins_main_trunk #4511 [FIXED JENKINS-18032] Crumbs must be appended when using post=true (Revision 57fced93596b1f8bd69f00f154430a11530393de) Result = SUCCESS jesse glick : 57fced93596b1f8bd69f00f154430a11530393de Files : core/src/main/resources/lib/layout/breadcrumbs.js

          Code changed in jenkins
          User: Jesse Glick
          Path:
          core/src/main/resources/lib/layout/breadcrumbs.js
          http://jenkins-ci.org/commit/jenkins/328be10df62c8d349e6f1b76939aed13b5784e80
          Log:
          [FIXED JENKINS-18032] Crumbs must be appended when using post=true requiresConfirmation=true.
          (cherry picked from commit 57fced93596b1f8bd69f00f154430a11530393de)

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: core/src/main/resources/lib/layout/breadcrumbs.js http://jenkins-ci.org/commit/jenkins/328be10df62c8d349e6f1b76939aed13b5784e80 Log: [FIXED JENKINS-18032] Crumbs must be appended when using post=true requiresConfirmation=true. (cherry picked from commit 57fced93596b1f8bd69f00f154430a11530393de)

            jglick Jesse Glick
            jgenoese John Genoese
            Votes:
            4 Vote for this issue
            Watchers:
            19 Start watching this issue

              Created:
              Updated:
              Resolved: