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

Configuring view when not logged in wipes view configuration

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Labels:
      None
    • Environment:
      Windows 7 (others?)
      Jenkins 1.430
      Using Jenkins built-in authentication
      Various view plugins installed: Dashboard, Build Pipeline, Compact columns, Radiator, XFPanel, Progress Bar, Sectioned, ViewJobFilters
    • Similar Issues:

      Description

      While not logged into Jenkins, it's possible to access the
      http://server:port/view/ViewName/configuration
      screen for a View by typing into the Address bar, or via a menu button such as on Radiator view.

      If the "Save" button is subsequently clicked from the menu, I am taken to a login screen. After logging in with my credentials, I'm redirected to
      http://server:port/view/ViewName/configSubmit, which has the text


      Status Code: 400

      Exception: Nothing is submitted
      Stacktrace:

      (none)


      On returning to the View in the normal manner from Jenkins Dashboard, there is only the message:

      This view has no jobs associated with it. You can either add some existing jobs to this view or create a new job in this view.

        Attachments

          Issue Links

            Activity

            Hide
            ohtake_tomohiro OHTAKE Tomohiro added a comment -
            Show
            ohtake_tomohiro OHTAKE Tomohiro added a comment - I have requested a pull. https://github.com/jenkinsci/jenkins/pull/295
            Hide
            cjbrew chris yate added a comment - - edited

            Hi Tomohiro, Thanks for the quick turnaround on this issue, I look forward to seeing the fix in a forthcoming core upgrade.

            Show
            cjbrew chris yate added a comment - - edited Hi Tomohiro, Thanks for the quick turnaround on this issue, I look forward to seeing the fix in a forthcoming core upgrade.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Seiji Sogabe
            Path:
            changelog.html
            core/src/main/java/hudson/logging/LogRecorder.java
            core/src/main/java/hudson/model/Computer.java
            core/src/main/java/hudson/model/ComputerSet.java
            core/src/main/java/hudson/model/Job.java
            core/src/main/java/hudson/model/Run.java
            core/src/main/java/hudson/model/User.java
            core/src/main/java/hudson/model/View.java
            core/src/main/java/hudson/model/labels/LabelAtom.java
            http://jenkins-ci.org/commit/jenkins/52471787c6c5c9474e46cc396bf3b91e20036255
            Log:
            [FIXED JENKINS-11397] Require POST for doConfigSubmit on views
            [FIXED JENKINS-7847] Require POST for doConfigSubmit on jobs

            Merge remote branch 'ohtake/get-configsubmit'

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Seiji Sogabe Path: changelog.html core/src/main/java/hudson/logging/LogRecorder.java core/src/main/java/hudson/model/Computer.java core/src/main/java/hudson/model/ComputerSet.java core/src/main/java/hudson/model/Job.java core/src/main/java/hudson/model/Run.java core/src/main/java/hudson/model/User.java core/src/main/java/hudson/model/View.java core/src/main/java/hudson/model/labels/LabelAtom.java http://jenkins-ci.org/commit/jenkins/52471787c6c5c9474e46cc396bf3b91e20036255 Log: [FIXED JENKINS-11397] Require POST for doConfigSubmit on views [FIXED JENKINS-7847] Require POST for doConfigSubmit on jobs Merge remote branch 'ohtake/get-configsubmit'
            Hide
            dogfood dogfood added a comment -
            Show
            dogfood dogfood added a comment - Integrated in jenkins_main_trunk #1228

              People

              • Assignee:
                ohtake_tomohiro OHTAKE Tomohiro
                Reporter:
                cjbrew chris yate
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: