There is a problem in the sql query in the to_do.module. When I click on the user role to assign a user I get:

user warning: Unknown table 'n' in where clause query: SELECT u.uid, u.name FROM users as u JOIN users_roles as r ON u.uid = r.uid WHERE (n.language ='de' OR n.language ='' OR n.language IS NULL) AND ( r.rid = 3 AND u.status = 1) in XYZ/modules/to_do/to_do.module on line 1586.

Comments

jday’s picture

here is the error I get when assigning a user (I've made the to-do node a group node - using organic groups - which does not function properly either):

user warning: Unknown column 'n.nid' in 'on clause' query: SELECT u.uid, u.name FROM users as u JOIN users_roles as r ON u.uid = r.uid INNER JOIN node_access na ON na.nid = n.nid WHERE (na.grant_view >= 1 AND ((na.gid = 0 AND na.realm = 'all') OR (na.gid = 0 AND na.realm = 'og_public') OR (na.gid = 45 AND na.realm = 'og_subscriber'))) AND ( r.rid = 3 AND u.status = 1) in /sites/all/modules/to_do/to_do.module on line 1586.

tribalrose’s picture

I get similar sql query errors when any type of user access module is active. So far Site notes, Content Access, Node Access, Workflow Access all conflict with To do list.

jaypan’s picture

I've fixed this problem for the next release of the module, out in the next day or two.

jaypan’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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