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

Dashboard View Plugin: Starting jobs returns error 'Form post required'

      I replaced the main view by a user-defined view. It contains a Job grid with 2 columns.

      How to reproduce:
      In the Job grid start a job by clicking the 'Schedule a build' button next right to the job.

      Expected result:
      1. The job is started without complaints.
      2. The job overview page is still shown.

      Actual result:
      I get the error 'You must use POST method to trigger builds. (From scripts you may instead pass a per-project authentication token, or authenticate with your API token.) If you see this page, it may be because a plugin offered a GET link; file a bug report for that plugin.'
      After clicking the 'Proceed' button the job is started. Then I get an empty page shown and have to click the 'Back' button in my browser to return to the Job overview page.

          [JENKINS-20025] Dashboard View Plugin: Starting jobs returns error 'Form post required'

          Chris Bush added a comment -

          Seconded. Pretty annoying, but doesn't break functionality.

          Chris Bush added a comment - Seconded. Pretty annoying, but doesn't break functionality.

          Using dashboard view 2.9.2 on Jenkins 1.541, the job grid portlet still reports the POST /GET issue. I file a bug for dashboard view.

          Wolfgang Hauser added a comment - Using dashboard view 2.9.2 on Jenkins 1.541, the job grid portlet still reports the POST /GET issue. I file a bug for dashboard view.

          Chris Bush added a comment -

          Fix for JENKINS-20025. Requires jQuery plugin.

          Chris Bush added a comment - Fix for JENKINS-20025 . Requires jQuery plugin.

          Code changed in jenkins
          User: Chris Bush
          Path:
          src/main/resources/hudson/plugins/view/dashboard/core/JobsPortlet/portlet.jelly
          src/main/webapp/js/dashboard-view.js
          http://jenkins-ci.org/commit/dashboard-view-plugin/eeb5c2e6e60c2b12dc1ef9e7b76741d6866af337
          Log:
          Fix for JENKINS-20025

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Chris Bush Path: src/main/resources/hudson/plugins/view/dashboard/core/JobsPortlet/portlet.jelly src/main/webapp/js/dashboard-view.js http://jenkins-ci.org/commit/dashboard-view-plugin/eeb5c2e6e60c2b12dc1ef9e7b76741d6866af337 Log: Fix for JENKINS-20025

          Code changed in jenkins
          User: Marco Ambu
          Path:
          src/main/resources/hudson/plugins/view/dashboard/core/JobsPortlet/portlet.jelly
          src/main/webapp/js/dashboard-view.js
          http://jenkins-ci.org/commit/dashboard-view-plugin/fc9b64dafca657b9f9bdb54b0a85823d0358d0cc
          Log:
          Merge pull request #26 from cjbush/master

          Fix for JENKINS-20025

          Compare: https://github.com/jenkinsci/dashboard-view-plugin/compare/d801e6e010e6...fc9b64dafca6

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Marco Ambu Path: src/main/resources/hudson/plugins/view/dashboard/core/JobsPortlet/portlet.jelly src/main/webapp/js/dashboard-view.js http://jenkins-ci.org/commit/dashboard-view-plugin/fc9b64dafca657b9f9bdb54b0a85823d0358d0cc Log: Merge pull request #26 from cjbush/master Fix for JENKINS-20025 Compare: https://github.com/jenkinsci/dashboard-view-plugin/compare/d801e6e010e6...fc9b64dafca6

          Jesse Glick added a comment -

          If the fix is merged, this should be Resolved/Fixed.

          Jesse Glick added a comment - If the fix is merged, this should be Resolved/Fixed.

          Daniel Beck added a comment -

          Fix was merged into master, therefore resolving as Fixed.

          Daniel Beck added a comment - Fix was merged into master, therefore resolving as Fixed.

            petehayes Peter Hayes
            scl Sven Claussner
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: