There are two issues on this page: 1) If you select Server and leave the Search field blank, then no results are returned. Instead a list of all Servers should be returned. 2) The Search field only filters by Resource name. This is no longer practical with the short resource names which do not include the Resource type. For example, searching for "JBoss AS" used to return all JBoss AS Server Resources, but now it returns no results. We need to either change the Search field to filter on both the Resource name and the Resource type, or else split it into two filter fields - Resource Name and Resource Type.
This issue was related to but not completely a duplicate of 589268. 589268 contributed to issue 1. For issue 2, I modified the named query for repos to also check for the search value for matching resource types as well. Basically proposed solution 1. This has been fixed in successful build of master >= 292 with commit hash: b75aca89d96e1421a26003dca674b290a849365f To test, try searching with i)empty field and ii)"JBoss AS" when subscribing a resource from a repository to see "All" results and only resources of type "JBoss AS" respectively.
Verified on jon Build#152 (Revision: 10620) On Administration > Repositories > JBoss Patches > Subscribe Resources page, entering 'JBoss AS' returns the resource type as expected. However, if 'server' is selected from the dropdown and search field is left blank, it is observed that it returns all the available resources including services, servers and platforms. Expected is that it should return a list of all servers only. Steps: 1. Navigate to Administration > Repositories > JBoss Patches > Subscribe Resources page. 2.Select 'Server' from the dropdown. 3.Keep the search field blank. 4.Click on arrow button. 5.It returns all the available resources. It should return a list of all servers.
Ick. Confirmed that Platform|Server|Service tab selections do not affect the search results at all. The resource type field is not being included perhaps.
Located poorly defined query. Fix has been applied and it works now. Available in master >= 366 and with commit hash: 79ff9e37b3f036092ee9f9f4ea683223aaaf448e
Verified on Jon build#178 (Revision: 10621) Observed that if 'server' is selected from the dropdown and search field is left blank, it returns a list of all servers only and search field gives results for resource name and resource type.
Mass-closure of verified bugs against JON.