Univention Bugzilla – Full Text Bug Listing |
Summary: | Bad search filter: unknown_clients=* | ||
---|---|---|---|
Product: | UCS | Reporter: | Florian Best <best> |
Component: | UMC - Domain management (Generic) | Assignee: | Florian Best <best> |
Status: | CLOSED FIXED | QA Contact: | Jürn Brodersen <brodersen> |
Severity: | normal | ||
Priority: | P5 | CC: | gohmann |
Version: | UCS 4.0 | ||
Target Milestone: | UCS 4.1-1-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
See Also: | https://forge.univention.org/bugzilla/show_bug.cgi?id=40740 | ||
What kind of report is it?: | --- | What type of bug is this?: | --- |
Who will be affected by this bug?: | --- | How will those affected feel about the bug?: | --- |
User Pain: | Enterprise Customer affected?: | ||
School Customer affected?: | ISV affected?: | ||
Waiting Support: | Flags outvoted (downgraded) after PO Review: | ||
Ticket number: | Bug group (optional): | External feedback | |
Max CVSS v3 score: | |||
Attachments: | patch |
Description
Florian Best
2015-09-14 17:16:18 CEST
The & is only the traceback appearance. The problem is the underscore (_) in the attribute name. There is no mapping for this property. Reproducible: curl 'http://master10.dev.local/umcp/command/udm/nav/object/query' -H 'Content-Type: application/json' -H 'Cookie: UMCSessionId=d8401796-b184-4bdc-ab96-b341e7f1a883;' --data-binary '{"options":{"objectType":"dhcp/pool","objectProperty":"known_clients","objectPropertyValue":"allow","container":"cn=foo,cn=dhcp,dc=dev,dc=local","hidden":true},"flavor":"navigation"}' Created attachment 7169 [details]
patch
As these attributes have no mapping they should not be searchable/viewable in UMC search list. The patch hides them from the search dropdown so that the traceback cannot occur.
A manual filter rewriting has been added. univention-directory-manager-modules (11.0.2-22): r67920 | Bug #39343: fix searching for DHCP pool properties univention-directory-manager-modules.yaml: r67921 | YAML Bug #39343 Changes: OK, search is working as expected. YAML: OK. → VERIFIED (If you test this over the web interface please note bug 40889) |