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

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

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Issue Links

            Activity

            Hide
            cjbush Chris Bush added a comment -

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

            Show
            cjbush Chris Bush added a comment - Seconded. Pretty annoying, but doesn't break functionality.
            Hide
            wo_hauser 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.

            Show
            wo_hauser 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.
            Hide
            cjbush Chris Bush added a comment -

            Fix for JENKINS-20025. Requires jQuery plugin.

            Show
            cjbush Chris Bush added a comment - Fix for JENKINS-20025 . Requires jQuery plugin.
            Hide
            scm_issue_link 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

            Show
            scm_issue_link 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
            Hide
            scm_issue_link 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

            Show
            scm_issue_link 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
            Hide
            jglick Jesse Glick added a comment -

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

            Show
            jglick Jesse Glick added a comment - If the fix is merged, this should be Resolved/Fixed.
            Hide
            danielbeck Daniel Beck added a comment -

            Fix was merged into master, therefore resolving as Fixed.

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

              People

              • Assignee:
                petehayes Peter Hayes
                Reporter:
                scl Sven Claussner
              • Votes:
                2 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: