Every call to form_alter causes user forms cached data rebuild

Created on 20 October 2023, over 1 year ago

Problem/Motivation

Call to _genpass_get_user_forms() includes $form_state variable which is always evaluated to "true" resulting in the cache being reset on every call.

Steps to reproduce

Install and use the module normally.

Proposed resolution

Remove extraneous and unused parameters to function call.

Remaining tasks

  • ✅ File an issue
  • ✅ Addition/Change/Update/Fix
  • ✅ Release notes snippet
  • ➖ Release: 2.0.1

User interface changes

  • N/A

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

Fixes major bug causing endless cache rebuilding for every hook_form_alter call.

Bugs

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇦🇺Australia elc

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

Comments & Activities

Production build 0.71.5 2024