• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • nested-view-plugin
    • None
    • Jenkins 2.289.1 (LTS) and nested view plugin 1.20
    • nested-view-1.27

      The recent nested view plugin release (1.20) breaks the Jenkins search box.
      I rolled back to 1.19 which solved the issue for me.

      Jenkins pipelines and multibranch pipelines are no longer showing up in the search anymore.
      Also a "search help" is displayed which usually not comes up.
      Freestyle projects can be found but the "search help" is stills showing up.

          [JENKINS-65924] Nested view plugin breaks Jenkins search

          jiri vanek added a comment -

          1.27 with global settings allowing to turn this on/of was released today. hth

          jiri vanek added a comment - 1.27 with global settings allowing to turn this on/of was released today. hth

          James Tuttle added a comment - - edited

          This problem is back for me.  Disabled plugin & restarted, search works again.  Re-enabled and restarted, search is broken.  I tried that command below in between, no effect.

          new File(System.getProperty("user.home"),'.nestedViewsSearch').createNewFile()
          

          I'd love to have this plugin, but we NEED to have search.  Any options?
           
          Jenkins 2.426.3
          Nested Views 1.33

           

          UPDATE: I removed that file created above and used the System Config page (/manage/configure) to disable this setting, and it works.  It would be nice to show this more explicitly in the README.

          James Tuttle added a comment - - edited This problem is back for me.  Disabled plugin & restarted, search works again.  Re-enabled and restarted, search is broken.  I tried that command below in between, no effect. new File( System .getProperty( "user.home" ), '.nestedViewsSearch' ).createNewFile() I'd love to have this plugin, but we NEED to have search.  Any options?   Jenkins 2.426.3 Nested Views 1.33   UPDATE : I removed that file created above and used the System Config page (/manage/configure) to disable this setting, and it works.  It would be nice to show this more explicitly in the README.

          jiri vanek added a comment -

          hello!

          Sorry for troubles. The readme have: https://github.com/jenkinsci/nested-view-plugin?tab=readme-ov-file#search-extension which contains the necessary info. I had also mentioned the difference it in GH release. https://github.com/jenkinsci/nested-view-plugin/releases/tag/nested-view-1.27

          Do you have any more ideas where to put that?

          jiri vanek added a comment - hello! Sorry for troubles. The readme have: https://github.com/jenkinsci/nested-view-plugin?tab=readme-ov-file#search-extension which contains the necessary info. I had also mentioned the difference it in GH release. https://github.com/jenkinsci/nested-view-plugin/releases/tag/nested-view-1.27 Do you have any more ideas where to put that?

          James Tuttle added a comment -

          I'm not sure formatting options you have in the Readme or Release Notes, but a picture like I aattached could help others who hit this.  And maybe use the term "System" settings, not "global", as that's the actual term that appears in Jenkins (at least in my English-language install, not sure if other localizations translate differently).  Thanks, glad to have this back, I do love the plugin!

          James Tuttle added a comment - I'm not sure formatting options you have in the Readme or Release Notes, but a picture like I aattached could help others who hit this.  And maybe use the term "System" settings, not "global", as that's the actual term that appears in Jenkins (at least in my English-language install, not sure if other localizations translate differently).  Thanks, glad to have this back, I do love the plugin!

          jiri vanek added a comment -

          Thanx! I had added your's screen shot.

          jiri vanek added a comment - Thanx! I had added your's screen shot.

          Tamas Mx added a comment -

          If anyone is struggling with the bug with the search: I am not sure how more recent versions perform, but today I can say that 1.26 (with jenkins 2.452.3) the search works fine without any .nestedViewsSearch file in the home directory.

          Tamas Mx added a comment - If anyone is struggling with the bug with the search: I am not sure how more recent versions perform, but today I can say that 1.26 (with jenkins 2.452.3) the search works fine without any .nestedViewsSearch file in the home directory.

          jiri vanek added a comment -

          Thanx for heads up!

          jiri vanek added a comment - Thanx for heads up!

          Ivaylo added a comment - - edited

          This issue still exists on Jenkins 2.479.3 and nested view plugin version 1.36 . When Nested View is enabled no search results are shown (we have 95%+ only multibranch pipelines).

          Furthermore, when the plugin is disabled from the Manage Jenkins --> System and I try to search for a job I am redirected to the login screen where my credentials are not accepted....and trust me I did not mess up my password

          UPDATE: The issue still exists if you have configured multiple active directories (what was our case). When I removed the multiple AD directories (left just one) the search functionality went back to normal

          Ivaylo added a comment - - edited This issue still exists on Jenkins 2.479.3 and nested view plugin version 1.36 . When Nested View is enabled no search results are shown (we have 95%+ only multibranch pipelines). Furthermore, when the plugin is disabled from the Manage Jenkins --> System and I try to search for a job I am redirected to the login screen where my credentials are not accepted....and trust me I did not mess up my password UPDATE: The issue still exists if you have configured multiple active directories (what was our case). When I removed the multiple AD directories (left just one) the search functionality went back to normal

          jiri vanek added a comment -

          a) If the issue us caused by ActiveDirectroy plugin, then I think it deserves new issue, which will pinpoint it, and we can then try to fix it
          b) by disabled plugin, you mean disabled search only, or disable whole plugin? If the first, then it may be stillthis bug, more likely different one. Or is this disablement issue appearing only with AD?
          c )to make it work with pipelines should be doable. There is one switch/case on type of items the search is crawling in (which was needed, so it knows that it have to crawl into nested view). I do not use pipelines, so I'm probably not person to fix it immediately

          jiri vanek added a comment - a) If the issue us caused by ActiveDirectroy plugin, then I think it deserves new issue, which will pinpoint it, and we can then try to fix it b) by disabled plugin, you mean disabled search only, or disable whole plugin? If the first, then it may be stillthis bug, more likely different one. Or is this disablement issue appearing only with AD? c )to make it work with pipelines should be doable. There is one switch/case on type of items the search is crawling in (which was needed, so it knows that it have to crawl into nested view). I do not use pipelines, so I'm probably not person to fix it immediately

          Ivaylo added a comment -

          judovana Thanks for your prompt response! I will gather the relevant data + screenshots and I will create an issue.

          Since I am new to the community should I assign it to you or leave it unassigned ?

          Ivaylo added a comment - judovana Thanks for your prompt response! I will gather the relevant data + screenshots and I will create an issue. Since I am new to the community should I assign it to you or leave it unassigned ?

            Unassigned Unassigned
            joschua_grube Joschua Grube
            Votes:
            29 Vote for this issue
            Watchers:
            39 Start watching this issue

              Created:
              Updated: