Problem/Motivation

Password Policy 8.x-3.2 was released on 19 Sep 2022 by paulocs
https://www.drupal.org/project/password_policy/releases/8.x-3.2


Thank you, Paulo

Reported and patched in #3313959: Some mandatory parameters missing WSOD

Steps to reproduce

Given that the Devel development module was enabled in a Varbase site
When I go to "/admin/config/security/password-policy"
Then the following fatal error will show up

The website encountered an unexpected error. Please try again later.

Symfony\Component\Routing\Exception\MissingMandatoryParametersException: Some mandatory parameters are missing ("machine_name") to generate a URL for route "entity.password_policy.devel_load". in Drupal\Core\Routing\UrlGenerator->doGenerate() (line 181 of core/lib/Drupal/Core/Routing/UrlGenerator.php).

Other automated testing features are failing with "The text "Configure Constraints" was not found anywhere in the text of the current page." on 03-00-pre-check-important-admin-development-pages.feature

   @javascript @check @local @development @staging
   Scenario: Check password policy constraints
      When I go to "admin/config/security/password-policy/default_policy/constraint"
       And I wait
      Then I should see "Configure Constraints"
       And I should see "Number of allowed repeated passwords: 0"
       And I should see "Password must not contain the user's username."
       And I should see "Password character length of at least 8 characters"
       And I should see "Minimum password character types: 4"
       And I should see "Password must contain 1 special character"
       And I should see "Password must contain 1 numeric character"
       And I should see "Password must contain 1 uppercase character"
       And I should see "Password must contain 1 lowercase character"

Proposed resolution

Add the patch from #3313959: Some mandatory parameters missing WSOD

Remaining tasks

  • ✅ File an issue about this project
  • ✅ Addition/Change/Update/Fix to this project
  • ✅ Testing to ensure no regression
  • ➖ Automated unit/functional testing coverage
  • ➖ Developer Documentation support on feature change/addition
  • ➖ User Guide Documentation support on feature change/addition
  • ➖ Accessibility and Readability
  • ✅ Code review from 1 Varbase core team member
  • ✅ Full testing and approval
  • ✅ Credit contributors
  • ✅ Review with the product owner
  • ✅ Update Release Notes and Update Helper on new feature change/addition
  • ✅ Release Varbase 9.0.9, varbase_core-9.0.36

Varbase update type

  • ✅ No Update
  • ➖ Optional Update
  • ➖ Forced Update
  • ➖ Forced Update if Unchanged

User interface changes

  • N/A

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • Issue #3316549: Fixed some mandatory parameters are missing machine_name to generate a URL for route in Password Policy when the Devel module was enabled

Comments

Rajab Natshah created an issue. See original summary.

  • Rajab Natshah committed 667c464 on 9.0.x
    Issue #3316549: Fix Some mandatory parameters are missing in Password...

  • Rajab Natshah committed eb0980f on 10.0.x
    Issue #3316549: Fix Some mandatory parameters are missing in Password...
rajab natshah’s picture

Issue summary: View changes
rajab natshah’s picture

Issue summary: View changes
rajab natshah’s picture

Title: Fix Some mandatory parameters are missing in Password Policy when the Devel module was enabled » Fix some mandatory parameters are missing machine_name to generate a URL for route in Password Policy when the Devel module was enabled
rajab natshah’s picture

Title: Fix some mandatory parameters are missing machine_name to generate a URL for route in Password Policy when the Devel module was enabled » Fix some mandatory parameters are missing machine_name to generate a URL for route in Password Policy when the Devel module was enabled
Assigned: rajab natshah » mohammed j. razem
Issue summary: View changes
Status: Active » Needs review
Issue tags: +varbase-9.0.9, +varbase_core-9.0.36
rajab natshah’s picture

Assigned: mohammed j. razem » Unassigned
rajab natshah’s picture

Status: Needs review » Fixed
rajab natshah’s picture

Issue summary: View changes

✅ Released varbase_core-9.0.36

rajab natshah’s picture

Issue summary: View changes

✅ Released Varbase 9.0.9

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.