Starting with Password Policy 7.x-1.15 there was a change to the validation routine that only occurs if an administrator is changing someone's account. This function assumes that form_state will have the values of the roles that were submitted. This does not occur when the bundled Password Change Tab is enabled. When Password Change Tab is enabled there are no roles submitted and thus the account's roles are reset to an empty array.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | password_policy-7.x-1.x-fix_inadvertent_unsetting_of_roles-2957343-3.patch | 1 KB | aohrvetpv |
Comments
Comment #2
aohrvetpv commentedThanks for the bug report. I think this should be filed against the 7.x-1.x branch. 7.x-2.x does not bundle the Password Change Tab module.
Comment #3
aohrvetpv commentedComment #4
Squee3P0 commentedThanks for the patch, it works perfectly for me.
Comment #6
aohrvetpv commented