Closed (fixed)
Project:
Password Policy
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
20 Apr 2011 at 12:33 UTC
Updated:
9 Nov 2011 at 02:20 UTC
Jump to comment: Most recent file
shouldnt this be changed:
function password_policy_update_6002() {
$ret = array();
db_change_field(&$ret, 'password_policy', 'policy', 'policy', array(
'description' => t('The serialized policy data'),
'type' => 'varchar',
'length' => 1024,
'not null' => TRUE,
'default' => '',
));
return $ret;
}
to
function password_policy_update_6002() {
$ret = array();
db_change_field($ret, 'password_policy', 'policy', 'policy', array(
'description' => t('The serialized policy data'),
'type' => 'varchar',
'length' => 1024,
'not null' => TRUE,
'default' => '',
));
return $ret;
}
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | warning-1133216_8.patch | 743 bytes | subson |
Comments
Comment #1
letzel commentedThe above warning appears during the update process from 6.x.1.0-beta1 to 6.x.1.0, and it effectively prevents my from doing the update. So I need to stick with beta1 for the moment.
Comment #2
sterndata commentedsubscribe
Comment #3
joeebel commentedsubscribe
Comment #4
Archnemysis commentedAfter removing the ampersand from the install file as suggested, I then un-installed and re-installed password policy without any problems.
Comment #5
dakku commentedThank you for your confirmation!
Can this be added into the next commit guys?
Comment #6
John Carbone commentedJust an FYI: Warnings are also shown when enabling, disabling or updating any module via drush with password policy turned on.
[Edit] This was causing updates from other modules to fail completely, either at update.php or via drush. Removed the '&' and all appears well.
Comment #7
threexk commentedI think the status here is incorrect; there is no patch that needs to be ported. Moving to RTBC because I don't think it's necessary to roll and test a patch for such a minor change.
Comment #8
subson commentedAdding a patch for next release.
Comment #9
erikwebb commentedFixed and committed!
http://drupalcode.org/project/password_policy.git/commit/e419ad9
@subson - FYI, when submitting future patches, please create patch files from within the module directory.