Description of problem: The following search is not returning any results: type= "JBossAS Server" and plugin= "JBoss Application Server" Version-Release number of selected component (if applicable): master builds on 2/11/2010 Steps: 1. navigate to Resources > All Resources 2. Search: type= "JBossAS Server" and plugin= "JBoss Application Server" GO Expected the existing resources whose Type and Plugin match the search string to appear in the table.
Temporarily adding the keyword "SubBug" so we can be sure we have accounted for all the bugs. keyword: new = Tracking + FutureFeature + SubBug
making sure we're not missing any bugs in rhq_triage
To accommodate automated legacy tests, we need searches like the following to work: type=="JBossAS Server" and plugin=="JBossAS" == indicates EXACT match to avoid substring hits on JBossAS5
gotcha, you want exact-matching instead of substring-matching. will the following query work in the meantime for you type=="JBossAS Server" and plugin!=jbossas5 this will find jboss servers that aren't defined by the JBossAS5 plugin, which resolves to the jboss servers defined in the JBossAS plugin (because those are the only two plugins that define jboss servers)
Committed a fix for this earlier this month. You can now use regex-like tokens in the following way: type="foo" // translates to substring match for '%foo%' type="^foo" // translates to startsWith match for 'foo%' type="foo$" // translates to endsWith match for '%foo' type="^foo$" // translates to exact match for 'foo' Notice that the '^' and '$' tokens are NOT mutually exclusive with the operators, which means that you can still have positive/negative, case-sensitive/insensitive matching separate from substring/startsWith/endsWith/exact matching.
Verified on Jon build170 (Revision: 10621) Below search criteria using regex works as expected: name=^jboss type="jvm" type="jvm$" plugin="^jbossas$" Below search criteria works: type="jbossas server" plugin="jbossas" type=="JBossAS Server" plugin=="JBossAS" However when following search criteria using operator 'and' is entered, is not returning any results: type="jbossas server" and plugin="jbossas" type=="JBossAS Server" and plugin=="JBossAS"
the "and" operator is implied, and thus not required. i suppose i could just ignore it, but currently i don't. if you remove the "and" token, the search should return results correctly. there's obviously some error handling that still needs to be added, to indicate to users what might be wrong with their search expressions.
Verified on jon build170 (Revision: 10621) Search returns results correctly without the 'and' token. type="jbossas server" plugin="jbossas" type=="JBossAS Server" plugin=="JBossAS"
Mass-closure of verified bugs against JON.