Bug 23804

Summary: dns/dns suche nach name=* ohne superordinate
Product: UCS Reporter: Andreas Büsching <buesching>
Component: UDM (Generic)Assignee: Florian Best <best>
Status: CLOSED FIXED QA Contact: Johannes Keiser <keiser>
Severity: normal    
Priority: P5 CC: best, gohmann
Version: UCS 3.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): Usability
Max CVSS v3 score:

Description Andreas Büsching univentionstaff 2011-09-25 17:47:19 CEST
Die Suche ohne Superordinate nach name=* liefert eine leere Liste. Das liegt daran, dass die DNS-Objekte, die keinen Superordinate benötigen, kein Attribut name haben, aber das meta-mdoul dns/dns schon.

umc-client -U **** -P **** command udm/query -f dns/dns \
  -o superordinate=None -o objectType=dns/dns \
  -o objectProperty=name -o objectPropertyValue='*'
Comment 1 Florian Best univentionstaff 2016-03-04 12:34:31 CET
Removed the pseudo property.
Comment 2 Florian Best univentionstaff 2016-03-04 12:34:59 CET
univention-directory-manager-modules (11.0.2-21):
r67902 | Bug #23804: autopep8
r67901 | Bug #23804: prevent to search for name=* in dns/dns as it has no results

univention-directory-manager-modules.yaml:
r67906 | YAML Bug #40831 Bug #23804
Comment 3 Florian Best univentionstaff 2016-03-08 15:46:16 CET
Even better than just removing it was to fix it ;-)
The subsearch-filter is now adjusted accordingly so that it will also find dns/ptr_record, dns/forward_zone and dns/reverse_zone (as they all have no name attribute).

univention-directory-manager-modules (11.0.2-23):
r67989 | Bug #23804: fix search for name in dns/dns handler

univention-directory-manager-modules.yaml:
r67990 | YAML Bug #23804
Comment 4 Johannes Keiser univentionstaff 2016-03-11 13:22:11 CET
CHANGES: OK
YAML: OK (adapted-version no.)
Comment 5 Florian Best univentionstaff 2016-03-18 06:42:44 CET
<http://errata.software-univention.de/ucs/4.1/131.html>