timja / jenkins-gh-issues-poc-06-18

0 stars 0 forks source link

[JENKINS-7251] ListView.contains method does not work when using regexp or job filters #901

Closed timja closed 10 years ago

timja commented 14 years ago

ListView.contains method uses only jobNames to check if an item is in the view.
On the contrary, ListView.getItems method can return an item not present in jobNames because of statusFilter and jobFilters checks.

So to obtain the correct result I need to use getItems and then check manually if an item is present in the collection.


Originally reported by mambu, imported from: ListView.contains method does not work when using regexp or job filters
  • status: Resolved
  • priority: Major
  • resolution: Cannot Reproduce
  • resolved: 2014-05-25T16:52:38+00:00
  • imported: 2022/01/10
timja commented 10 years ago

danielbeck:

Has been resolved some time between the report and 1.561, as ListView now distinguishes between jobNamesContains() and contains(), the latter of which checks getItems()