[JIRA] [core] (JENKINS-31511) Recent (since 1.628) bug introduced into pluginManager filter UI

4 views
Skip to first unread message

ronabop@gmail.com (JIRA)

unread,
Nov 11, 2015, 8:05:01 PM11/11/15
to jenkinsc...@googlegroups.com
Ronald Gundlach-Chmara created an issue
 
Jenkins / Bug JENKINS-31511
Recent (since 1.628) bug introduced into pluginManager filter UI
Issue Type: Bug Bug
Assignee: Unassigned
Attachments: Installed plugin filter1.png, Installed plugin filter2.png
Components: core
Created: 12/Nov/15 1:04 AM
Environment: Filter not working in 1.638, worked in 1.628
Priority: Minor Minor
Reporter: Ronald Gundlach-Chmara

Jenkins was, on typing characters into the filter section of the plugin window, filtering results, it no longer works as expected. Attached are screenshots for 1.628 and 1.638 for comparison. Note the filter string of "OWA" is reflected in 1.628, the other screenshot is 1.638 (version number is scrolled off the screen).

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265)
Atlassian logo

christopherleesimons@gmail.com (JIRA)

unread,
Nov 13, 2015, 11:12:01 PM11/13/15
to jenkinsc...@googlegroups.com

christopherleesimons@gmail.com (JIRA)

unread,
Nov 13, 2015, 11:12:02 PM11/13/15
to jenkinsc...@googlegroups.com
Christopher Simons started work on Bug JENKINS-31511
 
Change By: Christopher Simons
Status: Open In Progress

christopherleesimons@gmail.com (JIRA)

unread,
Nov 13, 2015, 11:52:01 PM11/13/15
to jenkinsc...@googlegroups.com
Christopher Simons commented on Bug JENKINS-31511
 
Re: Recent (since 1.628) bug introduced into pluginManager filter UI

Verified bug exists on Chrome in 46.0.2490.80 (64-bit) on Linux against repository tag 'jenkins-1.638' but does not exist on tag 'jenkins-1.628'.

When testing, note that the search does not seem to be broken on the default tab, but is broken on the "Installed" tab. When entering a search term, the list results do seem to change sometimes, but more results are returned than are warranted by the search term.

Results of git-bisect debugging:

3b5424e507be2e59eabfd3f55ce16cd2b58a6195 is the first bad commit
commit 3b5424e507be2e59eabfd3f55ce16cd2b58a6195
Author: tfennelly <tom.fe...@gmail.com>
Date:   Fri Sep 25 12:22:46 2015 +0100

    Only allow disable or uninstall when all dependants or dependencies are disabled/enabled

christopherleesimons@gmail.com (JIRA)

unread,
Nov 13, 2015, 11:53:01 PM11/13/15
to jenkinsc...@googlegroups.com
Christopher Simons stopped work on Bug JENKINS-31511
 
Change By: Christopher Simons
Status: In Progress Open

dbeck@cloudbees.com (JIRA)

unread,
Nov 17, 2015, 8:25:02 AM11/17/15
to jenkinsc...@googlegroups.com

Christopher Simons Are you planning to work on this as you assigned yourself?

christopherleesimons@gmail.com (JIRA)

unread,
Nov 17, 2015, 1:38:02 PM11/17/15
to jenkinsc...@googlegroups.com
Christopher Simons assigned an issue to Unassigned
 

Daniel Beck Initially I was planning on fixing this but have since gotten sidetracked by other demands. I've unassigned this.

Change By: Christopher Simons
Assignee: Christopher Simons

dbeck@cloudbees.com (JIRA)

unread,
Nov 17, 2015, 1:57:02 PM11/17/15
to jenkinsc...@googlegroups.com
Daniel Beck updated an issue
Change By: Daniel Beck
Labels: lts-candidate regression

christopherleesimons@gmail.com (JIRA)

unread,
Nov 17, 2015, 2:07:01 PM11/17/15
to jenkinsc...@googlegroups.com
Christopher Simons edited a comment on Bug JENKINS-31511
 
Re: Recent (since 1.628) bug introduced into pluginManager filter UI
[~danielbeck] Initially  I was planning on fixing  planned to fix  this but have since gotten sidetracked by other demands.  I've unassigned this.

christopherleesimons@gmail.com (JIRA)

unread,
Nov 17, 2015, 2:07:04 PM11/17/15
to jenkinsc...@googlegroups.com
Christopher Simons edited a comment on Bug JENKINS-31511
[~danielbeck] Initially  I  planned to fix this but have since gotten sidetracked by other demands.  I've unassigned this.

christopherleesimons@gmail.com (JIRA)

unread,
Nov 17, 2015, 2:08:03 PM11/17/15
to jenkinsc...@googlegroups.com
Christopher Simons edited a comment on Bug JENKINS-31511
Verified bug exists  on  from  Chrome in 46.0.2490.80 ( Linux 64-bit) on  Linux against  repository tag 'jenkins-1.638' but does not exist on tag 'jenkins-1.628'.


When testing, note that the search does not seem to be broken on the default tab, but is broken on the "Installed" tab.  When entering a search term, the list results do seem to change sometimes, but more results are returned than are warranted by the search term.

Results of git-bisect debugging:

{code}

3b5424e507be2e59eabfd3f55ce16cd2b58a6195 is the first bad commit
commit 3b5424e507be2e59eabfd3f55ce16cd2b58a6195
Author: tfennelly <tom.fe...@gmail.com>
Date:   Fri Sep 25 12:22:46 2015 +0100

    Only allow disable or uninstall when all dependants or dependencies are disabled/enabled
{code}

dbeck@cloudbees.com (JIRA)

unread,
Nov 17, 2015, 2:15:01 PM11/17/15
to jenkinsc...@googlegroups.com

This is funny – the filtering actually works, but it also considers plugins that have an (explicit or implied) dependency on any plugin with that name. In the case of OWASP Markup Formatter Plugin, this is (due to how dependencies to detached-from-core plugins work and when this one was detached from core) almost every plugin. If you filter for a string that does not match any plugin that has been detached from core (mostly what Jenkins came bundled with), it works as expected.

Not sure whether this is deliberate. Pinging Tom FENNELLY to shed some light on this.

dbeck@cloudbees.com (JIRA)

unread,
Mar 2, 2017, 2:17:02 PM3/2/17
to jenkinsc...@googlegroups.com
Daniel Beck updated an issue
Change By: Daniel Beck
Labels: lts-candidate newbie-friendly regression
This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
Atlassian logo

dbeck@cloudbees.com (JIRA)

unread,
Feb 14, 2018, 5:10:32 PM2/14/18
to jenkinsc...@googlegroups.com
Daniel Beck updated an issue
 
Jenkins / Bug JENKINS-31511
Recent (since 1.628) bug introduced into pluginManager filter UI
Change By: Daniel Beck
Labels: lts-candidate newbie-friendly regression
Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)
Atlassian logo

dbeck@cloudbees.com (JIRA)

unread,
Feb 14, 2018, 5:10:32 PM2/14/18
to jenkinsc...@googlegroups.com
 
Re: Recent (since 1.628) bug introduced into pluginManager filter UI

The behavior remains; with recent plugin releases more easily observable when typing command-launcher as that has been detached from core fairly recently.

dbeck@cloudbees.com (JIRA)

unread,
Mar 4, 2018, 8:44:02 PM3/4/18
to jenkinsc...@googlegroups.com

applyFilter does not handle the fact that each row has hidden divs containing the plugin dependency information in span}}s. So it's not as trivial as just {{innerHTML.

dbeck@cloudbees.com (JIRA)

unread,
Mar 4, 2018, 8:45:03 PM3/4/18
to jenkinsc...@googlegroups.com
Daniel Beck edited a comment on Bug JENKINS-31511
{{applyFilter}} in {{PluginManager/_table.js}} does not handle the fact that each row has hidden divs containing the plugin dependency information in {{span}}s. So it's not as trivial as just \ { \ {innerHTML}}.

chig@dickinson.edu (JIRA)

unread,
Dec 19, 2019, 8:53:02 PM12/19/19
to jenkinsc...@googlegroups.com
Allan C assigned an issue to Allan C
 
Change By: Allan C
Assignee: Allan C
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

chig@dickinson.edu (JIRA)

unread,
Dec 19, 2019, 8:54:02 PM12/19/19
to jenkinsc...@googlegroups.com
Allan C assigned an issue to Unassigned

chig@dickinson.edu (JIRA)

unread,
Dec 19, 2019, 8:55:02 PM12/19/19
to jenkinsc...@googlegroups.com
Allan C commented on Bug JENKINS-31511
 
Re: Recent (since 1.628) bug introduced into pluginManager filter UI

Hi, I just ran into this bug and tried to replicate it on my machine. It appeared that this bug did not appear on Jenkins 2.190.3, Firefox 70.0.1 on Ubuntu 18.04.3 LTS. 

Reply all
Reply to author
Forward
0 new messages