- Issue was unassigned.
- Status changed to Fixed
almost 2 years ago 3:57pm 19 January 2023 Automatically closed - issue fixed for 2 weeks with no activity.
#2849271: Decouple display of policy table and policy validation →
Password policy →
module added the ability to hide the status table using the policy configuration in version
8.x-3.2 →
.
Varbase Security module hides the table by unsetting password_policy_status
key which will be undefined when the show_policy_table
key in policy configuration is false.
And therefore it throws the following:
Warning: Undefined array key "password_policy_status" in _password_policy_check_constraints()
TypeError: Drupal\Core\Render\MainContent\AjaxRenderer::renderResponse(): Argument #1 ($main_content) must be of type array, null given
Given that I created a new user using the default password policy
When visiting recent log messages
Then I see one warning and one error logged
password_policy_status
key and add show_policy_table: false
to the configuration of the default policy.password_policy.password_policy.default_policy
in active configsEdit password policy - before the fix
→
Edit Normal user account before the fix
Edit Normal user account after only composer update
Navigate to "/update.php"
or run drush updb
Edit password policy - After the fix with composer update
and drush updb
Edit Normal user account after the drush updb
password_policy_status
key and add show_policy_table: false
to the configuration of the default policyFixed
9.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Automatically closed - issue fixed for 2 weeks with no activity.