Bug 1062351
Summary: | [RFE] Search mechanism doesn't handle particular special characters well | ||
---|---|---|---|
Product: | [oVirt] ovirt-engine | Reporter: | Pavel Novotny <pnovotny> |
Component: | RFEs | Assignee: | Eli Mesika <emesika> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Pavel Novotny <pnovotny> |
Severity: | low | Docs Contact: | |
Priority: | unspecified | ||
Version: | --- | CC: | bugs, emesika, gklein, iheim, oourfali, pstehlik, rbalakri, yeylon |
Target Milestone: | ovirt-3.6.0-rc | Keywords: | FutureFeature |
Target Release: | 3.6.0 | Flags: | rule-engine:
ovirt-3.6.0+
ylavi: planning_ack+ rule-engine: devel_ack+ pstehlik: testing_ack+ |
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | infra | ||
Fixed In Version: | ovirt-engine-3.6.0-0.0.master.20150412172306.git55ba764 | Doc Type: | Enhancement |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-02-02 10:35:52 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | Infra | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Pavel Novotny
2014-02-06 17:29:08 UTC
There is also no way how to search for items which do not have certain field filled at all. For example I want to see all network which do not have a any label Search: Network: label = "" does not work nor does Network: label != "*" (In reply to Martin Pavlik from comment #1) > There is also no way how to search for items which do not have certain field > filled at all. > > For example I want to see all network which do not have a any label > > Search: > Network: label = "" > does not work > > nor does > Network: label != "*" I agree, more accurate handling IMHO will be to support special values NULL and EMPTY_STRING to enable that and this worth a special RFE that will probably enable us to handle it before this RFE since it is less complex. So, if you have no objection, please open a different RFE on that Done, opened bug 1067844 I had investigated it and its origin is in BaseConditionFieldAutoCompleter::isValid(String field, String value) This method is called from various value types detection and disallow any char of : {^,<,>,&,#,!,;} I think that this method is redundant, when we have a string value we should allow all I had checked returning true from BaseConditionFieldAutoCompleter::isValid(String field, String value) and it worked perfectly Yair, do we have any problem having those characters in AD search ? (In reply to Eli Mesika from comment #4) > I had investigated it and its origin is in > BaseConditionFieldAutoCompleter::isValid(String field, String value) > This method is called from various value types detection and disallow any > char of : {^,<,>,&,#,!,;} > > I think that this method is redundant, when we have a string value we should > allow all > I had checked returning true from > BaseConditionFieldAutoCompleter::isValid(String field, String value) and it > worked perfectly > > Yair, do we have any problem having those characters in AD search ? & and ! are used in the ldap query language. You can see here a list of characters that need t boe escaped - http://docs.oracle.com/javase/jndi/tutorial/beyond/names/syntax.html < > # ; are among these characters. Closing older BZs, if still happened, please reopen. |