Description of problem: Jon build#172 (Revision: 10621) The category context has auto complete values in lower case as 'platform', 'server' and 'service'. If a user enters a search criteria which is a exact match for values (like 'category=='), the auto completion values displayed are in lower case. If user selects a value say 'category=="server" , it does not return any result as column values are in capital letters.(SERVER). Please refer the screenshot attached. Version-Release number of selected component (if applicable): How reproducible: always Steps to Reproduce: 1.Login to jon. 2.Navigate to 'Resources->All Resources' tab. 3.Enter search criteria as for exact match search for category context (Ex: category==) 4.Look for autocompletion values. 5.Select a value (Ex: category=="server") 6.Click on GO button. Actual results: It does not return any result as column values are in upper case and auto completion values are in lower case. Expected results: Auto complete values should be upper case. Additional info:
Created attachment 417548 [details] screenshot for category context autocomplete values
The suggestions were provided in lower-case intentionally for two reasons: * reading ease -- figured visual processing of "server" was easier than "SERVER" * consistency -- some enums in the codebase have a camelCase style, while others are CAPS. all enum suggestions are provided as lowercase to unify this. How do others think this should work?
commit cba42b61bc8ba3b9b2aaf1afe76754f0f398d850 Author: Joseph Marques <joseph> Date: Fri Jun 25 00:38:22 2010 -0400 BZ-597174: make category filter more lenient for resource-based searching ----- this fix maintains the lower-case suggestions for enum-based filters like 'category', but the query translator uses more lenient matching in order to find the correct enum value to filter by regardless of case-sensitivity.
commit 4876619ad4df851263624fcf54687c23559b8eaf Author: Joseph Marques <joseph> Date: Fri Jun 25 00:43:57 2010 -0400 BZ-597174: make category filter more lenient for group-based searching ----- QA for this should test the 'category' filter for both resources and groups
Verified on JON 2.4 GA_QA build#43 The 'category' filter gives results for both resources and groups searches regardless of case-sensitivity: Ex: category=="server" category=="SERVER"
Mass-closure of verified bugs against JON.