Use proper error messages in getErrorMessage()

Created on 4 March 2020, over 4 years ago
Updated 7 April 2024, 3 months ago

PasswordConstraintBase class has a public method getErrorMessage(), but it returns a message from a constraint definition. That message is not really used anywhere (or at least for the constraints that I was looking at). I suggest to override that method and use real error messages there.

Patch is coming.

πŸ“Œ Task
Status

Postponed: needs info

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States temkin

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States Kristen Pol Santa Cruz, CA, USA

    Thanks to everyone for the work on this issue.

    I'm going through all the 8.x issues.

    As the 8.x is no longer supported, I'm postponing this issue for now and need feedback as to whether or not this issue is relevant to 4.0.x.

    If it is, please reopen and change the version, make sure the issue summary is clear and complete, including concrete steps to reproduce, and reroll the patch. If it's not, please close.

    If there is no response to this in a month addressing the above, it can be closed.

Production build 0.69.0 2024