Univention Bugzilla – Bug 57071
No visible feedback after error in backend (blocklist: value is blocked)
Last modified: 2024-02-20 14:12:23 CET
UCS 5.0 primary with self-service and blocklists: DN: cn=mpa,cn=blocklists,cn=internal blockingProperties: users/user mailPrimaryAddress blockingProperties: users/user phone name: mpa retentionTime: None Added a blocklists/entry for value "112". If i set this as value for "Telephone number" on via the self service selfservice/profile, the frontend loads for a second and than i'm back again on the profile page. In the backend i got the correct error message management-console-module-passwordreset.log: 20.02.24 09:21:45.338 MODULE ( ERROR ) : set_user_attributes(): modifying the user failed: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/univention/management/console/modules/passwordreset/__init__.py", line 572, in set_user_attributes user.modify() File "/usr/lib/python3/dist-packages/univention/admin/handlers/users/user.py", line 1306, in modify return super(object, self).modify(*args, **kwargs) File "/usr/lib/python3/dist-packages/univention/admin/handlers/__init__.py", line 679, in modify dn = self._modify(modify_childs, ignore_license=ignore_license, response=response, serverctrls=serverctrls) File "/usr/lib/python3/dist-packages/univention/admin/handlers/__init__.py", line 1377, in _modify univention.admin.blocklist.check_blocklistentry(self) File "/usr/lib/python3/dist-packages/univention/admin/blocklist.py", line 143, in check_blocklistentry raise univention.admin.uexceptions.valueError(_('The value %r is blocked for the UDM property %r.') % (value, attr), property=attr) univention.admin.uexceptions.valueError: The value '112' is blocked for the UDM property 'phone'. 20.02.24 09:21:45.338 MODULE ( PROCESS ) : The attributes could not be saved: The value '112' is blocked for the UDM property 'phone'. But this is not visible in the frontend.