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

Failed to create a new view from sidebar link of an other view.

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • core
    • None
    • Jenkins core 2.88+

      When you try to create a new view from the sidebar link introduced in core 2.88 (JENKINS-6290), you'll get a HTTP 404 error, when you are currently on an other view.

      Also see the attached screenshots.

          [JENKINS-48447] Failed to create a new view from sidebar link of an other view.

          Code changed in jenkins
          User: Jochen A. Fürbacher
          Path:
          core/src/main/java/jenkins/model/NewViewLink.java
          core/src/test/java/jenkins/model/NewViewLinkTest.java
          http://jenkins-ci.org/commit/jenkins/6df06fc19a4b7ed015ab5213e2dc8d25beb2f607
          Log:
          JENKINS-48447 Fixed HTTP 404 error when clicking on newView sidebar link from an other view. (#3178)

          • JENKINS-48447 Fixed HTTP 404 error when clicking on newView sidebar link from an other view.
          • JENKINS-48447 Load url name each time object gets initialized and adapted tests.
          • JENKINS-48447 Added @Restricted to NewViewLink; undo URL_NAME renaming.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jochen A. Fürbacher Path: core/src/main/java/jenkins/model/NewViewLink.java core/src/test/java/jenkins/model/NewViewLinkTest.java http://jenkins-ci.org/commit/jenkins/6df06fc19a4b7ed015ab5213e2dc8d25beb2f607 Log: JENKINS-48447 Fixed HTTP 404 error when clicking on newView sidebar link from an other view. (#3178) JENKINS-48447 Fixed HTTP 404 error when clicking on newView sidebar link from an other view. JENKINS-48447 Fixed unit tests for NewViewLink JENKINS-48447 Load url name each time object gets initialized and adapted tests. JENKINS-48447 Rewrite tests for url name; fixed indenting. JENKINS-48447 Fixed more identing. JENKINS-48447 Added @Restricted to NewViewLink; undo URL_NAME renaming.

          Code changed in jenkins
          User: Oleg Nenashev
          Path:
          http://jenkins-ci.org/commit/jenkins/cc9b1053ad27b5569fd599df9fdd5bc34242f97e
          Log:
          Revert "JENKINS-48447 Fixed HTTP 404 error when clicking on newView sidebar link from an other view. (#3178)"

          This reverts commit 6df06fc19a4b7ed015ab5213e2dc8d25beb2f607.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: http://jenkins-ci.org/commit/jenkins/cc9b1053ad27b5569fd599df9fdd5bc34242f97e Log: Revert " JENKINS-48447 Fixed HTTP 404 error when clicking on newView sidebar link from an other view. (#3178)" This reverts commit 6df06fc19a4b7ed015ab5213e2dc8d25beb2f607.

          Oleg Nenashev added a comment -

          It has NOT been reverted, so it's fixed in 2.101.
          Likely GitHub revert UI messed up the commit message somehow. CC danielbeck who noticed it during the changelog review

          Oleg Nenashev added a comment - It has NOT been reverted, so it's fixed in 2.101. Likely GitHub revert UI messed up the commit message somehow. CC danielbeck who noticed it during the changelog review

            Unassigned Unassigned
            jochenafuerbacher Jochen A. Fürbacher
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: