Bug 53308 - Missing error handling in Self Service password reset if OX is installed
Missing error handling in Self Service password reset if OX is installed
Status: NEW
Product: UCS
Classification: Unclassified
Component: Self Service
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-05-21 10:20 CEST by Florian Best
Modified: 2021-05-21 10:20 CEST (History)
0 users

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): Error handling
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2021-05-21 10:20:47 CEST
3 times in /var/log/univention/management-console-module-passwordreset.log.8.gz:
Traceback (most recent call last):                                  
  File "/usr/lib/python2.7/dist-packages/univention/management/console/modules/passwordreset/__init__.py", line 508, in set_user_attributes                                                                                                   
    user.modify()
  File "/usr/lib/python2.7/dist-packages/univention/admin/handlers/users/user.py", line 1410, in modify                                                                                                                                       
    return super(object, self).modify(*args, **kwargs)                                        
  File "/usr/lib/python2.7/dist-packages/univention/admin/handlers/__init__.py", line 650, in modify
    dn = self._modify(modify_childs, ignore_license=ignore_license, response=response)
  File "/usr/lib/python2.7/dist-packages/univention/admin/handlers/__init__.py", line 1316, in _modify
    self.call_udm_property_hook('hook_ldap_pre_modify', self)             
  File "/usr/lib/python2.7/dist-packages/univention/admin/handlers/__init__.py", line 1054, in call_udm_property_hook
    func(module)                                                                            
  File "/usr/lib/python2.7/dist-packages/univention/admin/hooks.d/oxAccess.py", line 187, in hook_ldap_pre_modify                                                                                    
    self.check_syntax_date(module)                                              
  File "/usr/lib/python2.7/dist-packages/univention/admin/hooks.d/oxAccess.py", line 133, in check_syntax_date
    raise univention.admin.uexceptions.valueError(oxAccess._('Birthday must be in format \'YYYY-MM-DD\' or \'TT-MM-JJJJ\''))                                                                                                                  
valueError: Birthday must be in format 'YYYY-MM-DD' or 'TT-MM-JJJJ'