Defining a policy fails
rickauer - October 29, 2008 - 08:53
| Project: | Password policy |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
See the attached screenshot. I downloaded and installed 6.x-1.x-dev and tried to define a simple policy (Name: default, 365 days expiration, 14 days of notification). What I got is the Password Policy screen with 'no policies defined' and an unlabeled radio button.
Tried other policies too, always the same result, unless I *only* choose to define a title without an actual policy.
My Drupal version is 6.6
| Attachment | Size |
|---|---|
| Screenshot-Password policies.png | 17.08 KB |

#1
Can you check the database to make sure that a database tables has been created?
#2
There are three tables created, password_policy + _expiration and _history. Uninstalling the module is properly deleting the tables.
#3
Cannot recreate. The creation and deletion of the policies work fine for me.
#4
Fine. So what do you suggest? Stop using password policy, because it works for you? Maybe you should tell me what you need in order to help you fixing the bug... Maybe I am able to help you.
#5
Can you paste here the content of the password_policy table?
#6
Sure, here we go:
== Table structure for table password_policy
|------
|Field|Type|Null|Default
|------
|//**pid**//|int(11)|Yes|NULL
|name|varchar(64)|Yes|
|description|varchar(255)|Yes|
|enabled|tinyint(4)|Yes|0
|policy|text|Yes|NULL
|created|int(11)|Yes|0
|expiration|int(11)|Yes|NULL
|warning|varchar(64)|Yes|NULL
== Dumping data for table password_policy
|1|default| |0|a:0:{}|0|365|30
#7
The issue was with the particular policy name "default". This is fixed in the dev version.
#8
I can confirm this for my installation. Thanks a lot!
#9
Automatically closed -- issue fixed for two weeks with no activity.