Closed (fixed)
Project:
Node Invite
Version:
5.x-0.5
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Oct 2008 at 17:38 UTC
Updated:
4 Feb 2009 at 02:30 UTC
According to the release notes from 5.x-0.5:
Made a semantic change in field names. uid_invitee was never right...we are storing email addresses in that varchar field
However, the .install file still creates a uid_invitee column, and there is no email_invitee column in the table. I patched it as follows, but am still testing my fix:
function node_invite_update_7() {
$result = array();
switch ( $GLOBALS['db_type'] ) {
case 'mysql':
case 'mysqli':
$result[] = update_sql("
ALTER TABLE {node_invites} CHANGE uid_invitee email_invitee VARCHAR(100) NOT NULL
");
break;
default:
drupal_set_message("Your database platform (" . $GLOBALS['db_type'] . ") is not supported by this module.");
}
return $result;
}As it is, 5.x-0.5 doesn't work out of the box.
Then again, I'm new to Drupal, so forgive me if this isn't really a critical bug.
Comments
Comment #1
suydam commentedFixed with version 5.x-0.6