Open mubat opened 3 years ago
I met a situation when on chief of some user is a chief of himself. And I got an error from https://github.com/salesagility/SuiteCRM/blob/master/modules/Users/User.php#L1459. But chief of saved User was fine. And I spent half hour to realize, that problem in another User
Get error message with information about problem and link to user with this problem. Save current user anyway if error not in current user.
Get general error message with information about problem. Can't understand what problem with current user (when actual error in other record)
Add a link to User with looped chief to error message.
What is a "chief"?
Is it the "Reports to" field?
@pgorod yes.
Issue
I met a situation when on chief of some user is a chief of himself. And I got an error from https://github.com/salesagility/SuiteCRM/blob/master/modules/Users/User.php#L1459. But chief of saved User was fine. And I spent half hour to realize, that problem in another User
Expected Behavior
Get error message with information about problem and link to user with this problem. Save current user anyway if error not in current user.
Actual Behavior
Get general error message with information about problem. Can't understand what problem with current user (when actual error in other record)
Possible Fix
Add a link to User with looped chief to error message.
Steps to Reproduce
Context
Your Environment