• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • Jenkins ver. 1.559
      CloudBees Folders Plugin 4.5

      When using the jenkins searchbox inside a folder, the current folder path is kept in the search results.

      For instance, in my svr "my_jenkins", i am in the "my_folder" folder.
      I search the job "a_job", it returns the result "job/another_folder/job/a_job"

      The final url is http://my_jenkins/job/my_folder/job/another_folder/job/a_job which returns a 404.

      It works fine when used at the root level.

          [JENKINS-24433] Searchbox cannot be used inside a folder

          Daniel Beck added a comment - - edited

          Likely a result from https://github.com/jenkinsci/jenkins/pull/893 (or rather, that commit added support for that kind of search to begin with, but didn't consider the case described here).

          Daniel Beck added a comment - - edited Likely a result from https://github.com/jenkinsci/jenkins/pull/893 (or rather, that commit added support for that kind of search to begin with, but didn't consider the case described here).

          Jesse Glick added a comment -

          Jesse Glick added a comment - Weird, I had thought I fixed up the search bar for folders in https://github.com/jenkinsci/cloudbees-folder-plugin/commit/c006194cec064331b273050177d67c883b6e6d27 .

          Daniel Beck added a comment -

          Same issue occurs when in a folder 'F' and searching for the top-level job 'a', it will jump to /job/F/job/a rather than /job/a.

          Reproduced on 1.577-SNAPSHOT from Aug 20 with Folders 4.6.1.

          Daniel Beck added a comment - Same issue occurs when in a folder 'F' and searching for the top-level job 'a', it will jump to /job/F/job/a rather than /job/a. Reproduced on 1.577-SNAPSHOT from Aug 20 with Folders 4.6.1.

          Code changed in jenkins
          User: Felix Belzunce Arcos
          Path:
          core/src/main/java/hudson/search/Search.java
          core/src/main/java/hudson/search/SuggestedItem.java
          test/src/test/java/hudson/search/SearchTest.java
          http://jenkins-ci.org/commit/jenkins/44db6aef3f055455635da1e126bcd162c95f80df
          Log:
          JENKINS-24433 Searchbox doesn't work properly inside a folder

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Felix Belzunce Arcos Path: core/src/main/java/hudson/search/Search.java core/src/main/java/hudson/search/SuggestedItem.java test/src/test/java/hudson/search/SearchTest.java http://jenkins-ci.org/commit/jenkins/44db6aef3f055455635da1e126bcd162c95f80df Log: JENKINS-24433 Searchbox doesn't work properly inside a folder

          Code changed in jenkins
          User: Felix Belzunce Arcos
          Path:
          test/src/test/java/hudson/search/SearchTest.java
          http://jenkins-ci.org/commit/jenkins/cb174607b348636eeaf27c6b0eab502ec1f2f3a6
          Log:
          JENKINS-24433 Improving tests

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Felix Belzunce Arcos Path: test/src/test/java/hudson/search/SearchTest.java http://jenkins-ci.org/commit/jenkins/cb174607b348636eeaf27c6b0eab502ec1f2f3a6 Log: JENKINS-24433 Improving tests

          Code changed in jenkins
          User: Jesse Glick
          Path:
          changelog.html
          core/src/main/java/hudson/search/Search.java
          core/src/main/java/hudson/search/SuggestedItem.java
          test/src/test/java/hudson/search/SearchTest.java
          http://jenkins-ci.org/commit/jenkins/64e832f9d6ff460a648eefcc5575158704b138b3
          Log:
          [FIXED JENKINS-24433] Noting merge of #1581.

          Compare: https://github.com/jenkinsci/jenkins/compare/1a8a00a82c3b...64e832f9d6ff

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: changelog.html core/src/main/java/hudson/search/Search.java core/src/main/java/hudson/search/SuggestedItem.java test/src/test/java/hudson/search/SearchTest.java http://jenkins-ci.org/commit/jenkins/64e832f9d6ff460a648eefcc5575158704b138b3 Log: [FIXED JENKINS-24433] Noting merge of #1581. Compare: https://github.com/jenkinsci/jenkins/compare/1a8a00a82c3b...64e832f9d6ff

          Code changed in jenkins
          User: Felix Belzunce Arcos
          Path:
          core/src/main/java/hudson/search/Search.java
          core/src/main/java/hudson/search/SuggestedItem.java
          test/src/test/java/hudson/search/SearchTest.java
          http://jenkins-ci.org/commit/jenkins/0c2f237b261a76ddf6b6fc3b440fc91ab79467bf
          Log:
          JENKINS-24433 Searchbox doesn't work properly inside a folder

          (cherry picked from commit 44db6aef3f055455635da1e126bcd162c95f80df)

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Felix Belzunce Arcos Path: core/src/main/java/hudson/search/Search.java core/src/main/java/hudson/search/SuggestedItem.java test/src/test/java/hudson/search/SearchTest.java http://jenkins-ci.org/commit/jenkins/0c2f237b261a76ddf6b6fc3b440fc91ab79467bf Log: JENKINS-24433 Searchbox doesn't work properly inside a folder (cherry picked from commit 44db6aef3f055455635da1e126bcd162c95f80df)

          Code changed in jenkins
          User: Felix Belzunce Arcos
          Path:
          test/src/test/java/hudson/search/SearchTest.java
          http://jenkins-ci.org/commit/jenkins/4535beee8552aeaa73e2d811e5a4e07cecd35a2d
          Log:
          JENKINS-24433 Improving tests

          (cherry picked from commit cb174607b348636eeaf27c6b0eab502ec1f2f3a6)

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Felix Belzunce Arcos Path: test/src/test/java/hudson/search/SearchTest.java http://jenkins-ci.org/commit/jenkins/4535beee8552aeaa73e2d811e5a4e07cecd35a2d Log: JENKINS-24433 Improving tests (cherry picked from commit cb174607b348636eeaf27c6b0eab502ec1f2f3a6)

            fbelzunc FĂ©lix Belzunce Arcos
            rocha909 Romain Chalumeau
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: