Bug 703585
Summary: | Update Search box to support using comma as a phrase separator in addition to space | ||
---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Charles Crouch <ccrouch> |
Component: | Core UI | Assignee: | Nobody <nobody> |
Status: | NEW --- | QA Contact: | |
Severity: | unspecified | Docs Contact: | |
Priority: | low | ||
Version: | 4.0.0 | CC: | hrupp |
Target Milestone: | --- | Keywords: | FutureFeature |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | Type: | --- | |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 678340 |
Description
Charles Crouch
2011-05-10 18:09:37 UTC
repro'd issue in rhq 4 master branch build from 5/9 (1:21:57 PM) mazz: ccrouch: what if you did "category=server" (1:21:59 PM) mazz: does that work? (1:25:42 PM) ccrouch: mazz: nope, blows up similarly (1:25:43 PM) ccrouch: java.lang.RuntimeException:[1305051914463] javax.ejb.EJBException:org.rhq.enterprise.server.search.SearchExpressionException: No enum of type 'ResourceCategory' with name matching 'server,' -> org.rhq.enterprise.server.search.SearchExpressionException:No enum of type 'ResourceCategory' with name matching 'server,' (1:25:51 PM) mazz: how can that be? (1:26:05 PM) mazz: if you go to Inventory>Servers (1:26:16 PM) mazz: what does the search bar say inside it? (I don't have a server running at the moment) (1:26:17 PM) ccrouch: "category=server, name=TestBean" blows up (1:26:17 PM) ccrouch: "category=server" works (1:26:25 PM) mazz: oh (1:26:32 PM) mazz: don't use comma :) (1:26:40 PM) mazz: separate clauses with space (1:26:45 PM) mazz: it things you want "server," (1:26:51 PM) mazz: literally, with a comma after server (1:27:00 PM) mazz: so yes, there is no category of type "server," (1:27:06 PM) ccrouch: ha (1:27:12 PM) ccrouch: that was it (1:27:23 PM) ccrouch: shows how long it is since i used the search bar (1:27:32 PM) mazz: I still make that mistake (1:27:38 PM) ccrouch: but thats not super intuitive though (1:27:42 PM) mazz: "does it want space? or comma? or semi?" (1:27:46 PM) ccrouch: that whitespace is the only separator (1:28:01 PM) mazz: I agree. like I said, I get confused too. now I just always assume space (1:28:10 PM) ccrouch: ok, i'm turning this into an RFE (1:28:25 PM) lkrejci: mazz: spinder: the commit hashes stay the same after the push.. (1:28:27 PM) mazz: I can tell you right now that's probably gonna be a pita to attempt to fix (1:28:28 PM) ccrouch: i think we should support whitespace and comma atleast (1:29:08 PM) ccrouch: mazz: haven't i told you about "solution tuesdays", you cant tell me about any problems on Tuesdays only solutions (1:29:53 PM) mazz: the solution is to inform the user of PEBAK and to use proper syntax. (1:29:55 PM) mazz: :p (1:31:18 PM) ccrouch: ha |