Clicking Reset Password produces an error - there is no message in the red panel, but the log shows an InvalidCredentialException - presumably validating a generated password against the regex for the directory.
This error occurred twice in succession (Principal was searched for, details displayed each time) until finally a new password was successfully generated. However, there is only one instance of the exception in catalina.out (was this cached?).
Regex used is:
^(?=.*\d).{8,12}$
There are several items to address here:
- Display a clean error message when unable to generate a random password.
- Add instructional text that the random password generator may not be able generated by the internal password generator.
- Have random password generator make X attempts until a successful password is generator, if not able to display a clean error message.
[CWD-362] Reset password error is not useful when regex is not passed.
Workflow | Original: Simplified Crowd Development Workflow v2 - restricted [ 1511014 ] | New: JAC Bug Workflow v3 [ 3365387 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: Simplified Crowd Development Workflow v2 [ 1392898 ] | New: Simplified Crowd Development Workflow v2 - restricted [ 1511014 ] |
Workflow | Original: Crowd Development Workflow v2 [ 273710 ] | New: Simplified Crowd Development Workflow v2 [ 1392898 ] |
Workflow | Original: JIRA Bug Workflow v2 [ 174053 ] | New: Crowd Development Workflow v2 [ 273710 ] |
Fix Version/s | New: 2.1 [ 14496 ] | |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Support reference count | New: 3 |
Workflow | Original: jira [ 83079 ] | New: JIRA Bug Workflow v2 [ 174053 ] |
Assignee | Original: Justen Stepka [Atlassian] [ justen.stepka@atlassian.com ] | New: Renan Battaglin [ rbattaglin ] |
Component/s | New: Caching [ 12774 ] | |
Component/s | Original: Administration [ 11544 ] |