Closed (fixed)
Project:
Password Policy
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
8 Dec 2011 at 22:26 UTC
Updated:
19 Jan 2012 at 23:27 UTC
Jump to comment: Most recent file
Getting this error when logged in as admin. Seems to come up on every page refresh in the logs (admin/reports/dblog). This patch fixes it by checking if the force_password_change property isset first.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | policynoticefix2.patch | 730 bytes | jrowny |
| password-policy-notice-fix.patch | 551 bytes | acbramley |
Comments
Comment #1
erikwebb commentedCommitted.
http://drupalcode.org/project/password_policy.git/commit/83c7539
Comment #3
jrowny commentedLooks like the latest release re-opened this problem on line 35. Same fix resolves the issue. I think this only happens when installing from a distribution (in my case, OpenPublic) and then updating before ever saving any configurations.
Comment #4
erikwebb commentedThe latest release does not include all recent patches. It was a security release and limited in scope. I will try and release a new version with recent fixes this week.
Comment #5
jrowny commentedThanks, just wanted to let you know that this one happens on a different line, although it's the same error. I haven't looked too deeply at this module, but maybe you could use hook_user_load to ensure that this property exists to avoid the problem altogether. I feel like the patch I submitted as well as the earlier ones are kind of "band aids."
Comment #6
jrowny commentedOpps, just realized I was using the 6.x code and this is 7. x you can just disregard all my posts in this issue!
Comment #7
erikwebb commentedIs this an issue on 6.x as well? If so, we need to fix it there as well.