Bug 33556 - Fallback for invalid search/default
Fallback for invalid search/default
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC - Domain management (Generic)
UCS 3.2
Other Linux
: P5 normal (vote)
: UCS 3.2-0-errata
Assigned To: Dirk Wiesenthal
Florian Best
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-25 10:25 CET by Dirk Wiesenthal
Modified: 2013-12-12 11:32 CET (History)
1 user (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):
Max CVSS v3 score:


Attachments

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