Bug 33556

Summary: Fallback for invalid search/default
Product: UCS Reporter: Dirk Wiesenthal <wiesenthal>
Component: UMC - Domain management (Generic)Assignee: Dirk Wiesenthal <wiesenthal>
Status: CLOSED FIXED QA Contact: Florian Best <best>
Severity: normal    
Priority: P5 CC: jmm
Version: UCS 3.2   
Target Milestone: UCS 3.2-0-errata   
Hardware: Other   
OS: Linux   
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):
Max CVSS v3 score:

Description Dirk Wiesenthal univentionstaff 2013-11-25 10:25:38 CET
If setting directory/manager/web/modules/default=fantasy_attribute the search will break: as fantasy_attribute does not exist, the ComboBox for the attribute will hold ''. Thus, the filter will be "=*" and an LDAP error is raised (kind of invalid syntax).

One should fallback to default_properties and warn in the logs.
Comment 1 Dirk Wiesenthal univentionstaff 2013-11-25 17:13:31 CET
Reported several times. Fix as errata
Comment 2 Dirk Wiesenthal univentionstaff 2013-12-05 13:01:48 CET
Fixed in frontend (not found? Change value from '' to 'None'), backend untouched.

  univention-management-console-module-udm 4.0.97-11.427.201312051248

YAML updated
Comment 3 Florian Best univentionstaff 2013-12-06 11:46:55 CET
OK, if the attribute doesn't exists the standard properties are selected.

YAML OK
Comment 4 Moritz Muehlenhoff univentionstaff 2013-12-12 11:32:54 CET
http://errata.univention.de/ucs/3.2/14.html