serenity-is / Serenity

Business Apps Made Simple with Asp.Net Core MVC / TypeScript
https://serenity.is
MIT License
2.57k stars 796 forks source link

[Bug report]: PasswordConfirm validation #6648

Closed marcobisio closed 1 year ago

marcobisio commented 1 year ago

Before submitting the bug report, please read and check the following items

What happened?

PasswordConfirm "addValidationRule" event isn't triggered when updating an user if the field itself is empty. If the Password field has a value, then the password is properly updated but without checking the PasswordConfirm field.

What did you expect to happen?

PasswordConfirm field should be always validated if the Password field has a value

How to reproduce?

Just updating a user in the demo site

What Serenity Nuget Versions are you seeing the problem on? (separated by comma)

6.4.4

Relevant log output

No response

Serene template version

No response

Sergen version

No response

Code editor

No response

Operating System

No response

Node.js version

No response

TypeScript version

No response

Database type and version

No response

On which device do you see the problem?

No response

On which operating system do you see the problem?

No response

On which browsers do you see the problem?

No response

On what version of the browsers do you see the problem?

No response

Additional information

No response

VictorTomaili commented 1 year ago

Fixed