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

Duplicated elements with incorrect URL when using the search on DashBoard View

    Details

    • Similar Issues:

      Description

      1. Fresh Jenkins instance
      2. Install the Dashboard View plugin
      3. Create Folder on the instance with a job inside the folder.
      4. Configure the Dashboard View to provide a left and right view showing Jenkins jobs list and Latest build and place yourself on the Dashboard View. Then, you get the following:
      Screen Shot 2016-06-08 at 10.05.48.png

      As you can see two elements appear (both are the same elements) and when you try to go to 1-PetClinic-app-artifact then you are redirected to https://<JENKINS_URL>/job/1-PetClinic-app-artifact/ - which doesn't exist because you are inside a folder.

        Attachments

          Issue Links

            Activity

            fbelzunc Félix Belzunce Arcos created issue -
            fbelzunc Félix Belzunce Arcos made changes -
            Field Original Value New Value
            Labels Dashboard
            fbelzunc Félix Belzunce Arcos made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            fbelzunc Félix Belzunce Arcos made changes -
            Description 1. Fresh Jenkins instance
            2. Install the Dashboard View plugin
            3. Create Folder on the instance with a job inside the folder.
            4. Configure the Dashboard View to provide a left and right view showing *Jenkins jobs list* and *Latest build*. Then, you get the following:

            [^Screen Shot 2016-06-08 at 10.05.48.png]

            As you can see two elements appear (both are the same elements) and when you try to go to {{1-PetClinic-app-artifact}} then you are redirected to {{https://&lt;JENKINS_URL&gt;/job/1-PetClinic-app-artifact}}/ - which doesn't exist because you are inside a folder.
            1. Fresh Jenkins instance
            2. Install the Dashboard View plugin
            3. Create Folder on the instance with a job inside the folder.
            4. Configure the Dashboard View to provide a left and right view showing *Jenkins jobs list* and *Latest build* and place yourself on the Dashboard View. Then, you get the following:
            [^Screen Shot 2016-06-08 at 10.05.48.png]

            As you can see two elements appear (both are the same elements) and when you try to go to {{1-PetClinic-app-artifact}} then you are redirected to {{https://&lt;JENKINS_URL&gt;/job/1-PetClinic-app-artifact}}/ - which doesn't exist because you are inside a folder.
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 171757 ] JNJira + In-Review [ 185767 ]
            jcarsique Julien Carsique made changes -
            Link This issue is related to JENKINS-35158 [ JENKINS-35158 ]
            danielbeck Daniel Beck made changes -
            Remote Link This issue links to "PR 2994 (Web Link)" [ 17619 ]
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Alex Taylor
            Path:
            core/src/main/java/hudson/model/ListView.java
            test/src/test/java/hudson/search/SearchTest.java
            http://jenkins-ci.org/commit/jenkins/ead38e0d23c0a7d0d9416deffe08b8738df89bb1
            Log:
            JENKINS-35459 - Prevent Duplicated elements with incorrect URL when using the search on DashBoard View (#2994)

            JENKINS-35459 - Prevent Duplicated elements with incorrect URL when using the search on DashBoard View

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Alex Taylor Path: core/src/main/java/hudson/model/ListView.java test/src/test/java/hudson/search/SearchTest.java http://jenkins-ci.org/commit/jenkins/ead38e0d23c0a7d0d9416deffe08b8738df89bb1 Log: JENKINS-35459 - Prevent Duplicated elements with incorrect URL when using the search on DashBoard View (#2994) JENKINS-35459 - Prevent Duplicated elements with incorrect URL when using the search on DashBoard View
            danielbeck Daniel Beck made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            Hide
            danielbeck Daniel Beck added a comment -

            Merged in 2.86.

            Show
            danielbeck Daniel Beck added a comment - Merged in 2.86.
            danielbeck Daniel Beck made changes -
            Status In Review [ 10005 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            oleg_nenashev Oleg Nenashev made changes -
            Link This issue is duplicated by JENKINS-35158 [ JENKINS-35158 ]

              People

              • Assignee:
                fbelzunc Félix Belzunce Arcos
                Reporter:
                fbelzunc Félix Belzunce Arcos
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: