Created attachment 7882 [details] validation error caused by empty limit fields In a customer environment the filesystem-quota exceeded for the Administrator. The customer gets the following error when he tried to expend the quota via umc-quota-modul. "Eine Option für users_set hat den falschen Typ: 2 Fehler aufgetreten fileLimitHard: 'Kann nicht in eine Zahl umgewandelt werden fileLimitSoft: 'Kann nicht in eine Zahl umgewandelt werden" This problem is caused by the reseted (default) value for "Files soft limit" and "Files hard limit" See added Screenshot If you add/modify both values, the new quota can be changed. ------------------------------------------------------------------------------- /var/log/univention/management-console-web-server.log 13.08.16 07:27:54.773 MAIN ( PROCESS ) : CPCommand (192.168.0.212:51386) response status code: 422 13.08.16 07:27:54.773 MAIN ( PROCESS ) : CPCommand (192.168.0.212:51386) response message: Eine Option für users_set hat den falschen Typ: 2 Fehler aufgetreten 13.08.16 07:27:54.773 MAIN ( PROCESS ) : CPCommand (192.168.0.212:51386) response result: {'fileLimitHard': 'Kann nicht in eine Zahl umgewandelt werden', 'fileLimitSoft': 'Kann nicht in eine Zahl umgewandelt werden'} -------------------------------------------------------------------------------- Trying to reset the quota for the Administrator completely by setting all values to zero, the entry cannot be saved. Instead the message: "Not all limits can be set to zero" appears. Deleting the quota by "removing" the Administrator, all limits are reset to zero. This is quite illogical. The confirmation message "Please confirm to remove the following user: Administrator" is also confusing This happened in Ticket#2016081021000406
It is now possible to reset the values to the default again. univention-quota (10.0.2-1): r75602 | Bug #42368: Bug #42013: univention-quota.yaml: r75604 | YAML Bug #42368 Bug #42013
Fix : Left out values get reset -> Verified Merge to 4.2: Verified YAML : Verified
<http://errata.software-univention.de/ucs/4.1/374.html>