Closed (fixed)
Project:
Checklist
Version:
7.x-2.0-alpha1
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Dec 2011 at 08:42 UTC
Updated:
13 Jan 2012 at 12:41 UTC
I installed checklist and added a new checklist with an item on it. The item to complete was to visit a specific node. When clicking on the link to view the node, the site crashed with this message:
Notice: Undefined variable: u in _checklist_complete_user_list() (line 656 of /pathtosite/sites/all/modules/checklist/checklist.module).
PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '' for key 'name': INSERT INTO {users} (uid, created) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1); Array ( [:db_insert_placeholder_0] => 11 [:db_insert_placeholder_1] => 1325234296 ) in drupal_write_record() (line 6884 of /pathtosite/includes/common.inc).I can still access everything as user #1, but the authenticated user that I was logged in as to do the checklist can't reach the site anymore.
Comments
Comment #1
j_ten_man commentedFixed in 7.x-2.0-alpha2. The issue had to do with adding a new role on checklist completion. Anyways, download the latest version and this is fixed. There aren't any other differences between the two versions.
Comment #2
j_ten_man commentedComment #3
j_ten_man commentedUpdating title to reflect issue.