send_reset_email variable type is integer but applied schema class is BooleanData

Created on 23 September 2022, almost 2 years ago
Updated 8 April 2024, 3 months ago

Problem/Motivation

Our tests fail with this error:Schema errors for password_policy.password_policy.dvg_policy with the following errors: password_policy.password_policy.dvg_policy:send_reset_email variable type is integer but applied schema class is Drupal\Core\TypedData\Plugin\DataType\BooleanData

I think this is because in PasswordPolicy.php the variable is defined as an int:

 /**
   * Send email notification upon reset.
   *
   * @var int
   */
  protected $send_reset_email = 0;
🐛 Bug report
Status

Fixed

Version

4.0

Component

Code

Created by

🇳🇱Netherlands JoshaHubbers

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.

Production build 0.69.0 2024