Bug 55034 - Deviating ucsschool/ldap/default/groupprefix/* breaks object search
Deviating ucsschool/ldap/default/groupprefix/* breaks object search
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: UMC - Internet rules
UCS@school 5.0
Other Mac OS X 10.1
: P5 normal (vote)
: UCS@school 5.0 v3-errata
Assigned To: Johannes Königer
Ole Schwiegert
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2022-07-26 14:37 CEST by Ole Schwiegert
Modified: 2022-08-17 13:26 CEST (History)
5 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 5: Blocking further progress on the daily work
User Pain: 0.286
Enterprise Customer affected?: Yes
School Customer affected?: Yes
ISV affected?:
Waiting Support: Yes
Flags outvoted (downgraded) after PO Review:
Ticket number: 2022072521000315
Bug group (optional): Regression
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ole Schwiegert univentionstaff 2022-07-26 14:37:13 CEST
The fixes of Bug #50797 introduce a regression, where the search of objects in certain UMC modules does not work properly anymore, if the values in ucsschool/ldap/default/groupprefix/* was changed to something that does not contain "-" as the separator in the end.

This problem was first found in the Assign internet rules module where some groups were not displayed anymore, since the customer uses prefixes like "schueler$" instead of "schueler-"
Comment 1 Dirk Schnick univentionstaff 2022-07-26 15:46:33 CEST
Added ticket an customer
Comment 2 Dirk Schnick univentionstaff 2022-07-27 07:51:52 CEST
This function must work after summer break!
Comment 3 Johannes Königer univentionstaff 2022-08-01 11:06:48 CEST
Gitlab issue: https://git.knut.univention.de/univention/ucsschool/-/issues/824
Comment 4 Johannes Königer univentionstaff 2022-08-09 19:31:51 CEST
Proposal in 
https://git.knut.univention.de/univention/ucsschool/-/merge_requests/135
fixes the regression in the UCS@School internet rules module.

No other regressions were found during testing and code review.
Comment 5 Johannes Königer univentionstaff 2022-08-12 08:52:07 CEST
Changes include:
- A fix for the regression in ucs-school-umc-internetrules
- A test which verifies the fix and also tests other wildcard search patterns

Was merged 11.08.22:

ucs-test-ucsschool (7.3.61)
ac38a87b309d | Bug #55034: Add test for assign internetrules wildcard search

ucs-school-umc-internetrules.yaml
f62574ca6a70 | Bug #55034: Advisory build version update
ee2b060d4d85 | Bug #55034: Fix object search in ucs-school-umc-internetrules

ucs-school-umc-internetrules (16.0.4)
ee2b060d4d85 | Bug #55034: Fix object search in ucs-school-umc-internetrules
Comment 6 Tobias Wenzel univentionstaff 2022-08-17 13:26:08 CEST
Errata updates for UCS@school 5.0 v3 have been released.

https://docs.software-univention.de/changelog-ucsschool-5.0v1-de.html

If this error occurs again, please clone this bug.