Univention Bugzilla – Bug 35051
Creating work group cause error message when name contains umlauts
Last modified: 2014-08-27 17:01:39 CEST
UCS@school 3.2 R2 v1 Chose "Add workgroup" in "Administrate workgroups" module Set "Workgroup(*)" to "Schülerzeitung" in Properties section Chose "Save changes" and got: Notification Could not fulfill the request. Server error message: The command has failed: Failed to create group (Invalid syntax.). After confirming and going back to the overview the workgroup is added but no share is created. Reproducable on UCS@school 3.2 and with other groupnames with umlauts.
We should block invalid characters in the UMC frontend: --- a/ucs-school-3.2r2/ucs-school-umc-groups/umc/js/schoolgroups/DetailPage.js +++ b/ucs-school-3.2r2/ucs-school-umc-groups/umc/js/schoolgroups/DetailPage.js -123,6 +123,7 @@ define([ name: 'name', label: this.moduleFlavor == 'class' ? _( 'Class' ) : _( 'Workgroup' ), disabled: this.moduleFlavor != 'workgroup-admin', + regExp: '^[a-zA-Z0-9-]+$', required: true }, { type: TextBox, When fixing this, a tooltip for this widget should be added that states which characters are allowed for group names.
I used '^[a-zA-Z0-9]([a-zA-Z0-9 _.-]*[a-zA-Z0-9])?$'
ucs-school-umc-groups 2.0.5-3
REOPEN: (In reply to Sönke Schwardt-Krummrich from comment #1) > When fixing this, a tooltip for this widget should be added that states > which characters are allowed for group names.
(In reply to Florian Best from comment #4) > REOPEN: > (In reply to Sönke Schwardt-Krummrich from comment #1) > > When fixing this, a tooltip for this widget should be added that states > > which characters are allowed for group names. Fixed.
OK, i renamed 'aufhören' into 'enden'. Changelog: OK
UCS@school 3.2 R2 v2 has been released: http://docs.univention.de/release-notes-ucsschool-3.2R2v2-de.html If this error occurs again, please use "Clone This Bug".