Bug 23804 - dns/dns suche nach name=* ohne superordinate
dns/dns suche nach name=* ohne superordinate
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UDM (Generic)
UCS 3.0
Other Linux
: P5 normal (vote)
: UCS 4.1-1-errata
Assigned To: Florian Best
Johannes Keiser
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-09-25 17:47 CEST by Andreas Büsching
Modified: 2016-03-18 06:42 CET (History)
2 users (show)

See Also:
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:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>