Closed (cannot reproduce)
Project:
Password Policy
Version:
7.x-1.2
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Aug 2012 at 00:39 UTC
Updated:
11 Nov 2012 at 03:34 UTC
When an admin edits their profile (via the admin theme), and clicks the password tab, the admin display crashes and the following error is thrown.
Notice: Undefined index: #user_category in password_policy_form_alter() (regel 428 van /var/www/kajira/sites/all/modules/password_policy/password_policy.module).
Comments
Comment #1
erikwebb commentedA notice shouldn't be causing the entire page to crash. Are there any other errors being shown?
Comment #2
P3t3r commentedNo, there's just that notice in the logs, and it says it happend when going from user/1/edit?render=overlay to user/1/password. Not sure if the missing ?render=overlay has anything to do with it.
Comment #3
erikwebb commentedI hate to say it, but I don't believe that the notice is the problem with your crashing here. If there is a warning, we obviously need to fix that, but I want to nail down what is actually causing your greater problem.
Comment #4
P3t3r commentedPerhaps the word "crash" was not a good choice here. What happens is that it falls back from the classical overlayed admin view to the non-overlay view that non-admin users would have (i.e. it's only the overlay functionality that 'crashes').
It's clearly a bug as it violates the system-wide preference of letting all admin pages appear overlayed, but it's not that it's a white screen or so, the raw functionality is intact (it just leaves admin display unwantedly).
Comment #5
P3t3r commentedJust installed a brand new Drupal 7.15 with default settings and only password tab. The described problem persists: the overlay vanishes and a notice is thrown.
The awkwardly placed menu item ('Password tab' as one of the root admin menus) is also there, but of course that's a different problem.
Comment #6
P3t3r commentedPerhaps also relevant: if I view a user's profile, and then click the password tab for that user, the notice is always thrown. And the admin overlay is not launched (while I guess it should).
Comment #7
erikwebb commentedLet me release a 7.x-1.2 version with the up to date changes to Password Tab and we'll readdress this.
Comment #8
erikwebb commentedComment #9
erikwebb commentedNow that 7.x-1.2 has been released, is this problem still present?
Comment #10
erikwebb commented