- 
    
Problem report
 - 
    Resolution: Fixed
 - 
    
Trivial
 - 
    6.0.9, 6.2.3, 6.4.0beta1, 6.4.0beta2, 6.4 (plan)
 - 
    None
 
- 
        Sprint 94 (Nov 2022), Sprint 95 (Dec 2022), Sprint 96 (Jan 2023), Sprint 97 (Feb 2023), Sprint 98 (Mar 2023)
 - 
        0.5
 
Steps to reproduce:
- Open any user role for editing.
 - Cut the name (leave the field empty).
 - Click the Update button.
 - Observe:
	
- The form reloads with error:
Cannot update user role: Incorrect value for field "name": cannot be empty. - Also, the Add button is displayed instead of the Update button below the form.
 
 - The form reloads with error:
 - Put the name back.
 - Click the Add button.
 - Observe:
	
- The form reloads with error:
Cannot create user role: User role "..." already exists. 
 - The form reloads with error:
 
Expected:
On errors, still editing the existing user role and not creating a new one.
- depends on
 - 
                    
ZBX-21669 It is not possible to filter Audit log records by user "System"
-         
 - Closed
 
 -