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

j_ten_man’s picture

Status: Active » Fixed

Fixed 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.

j_ten_man’s picture

Title: Notice: undefined variable » Integrity constraint violation: 1062 when adding new role on checklist completion
j_ten_man’s picture

Title: Integrity constraint violation: 1062 when adding new role on checklist completion » Integrity constraint violation: 1062 when adding role on checklist completion.

Updating title to reflect issue.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.