Hi,

yet another annoying warning (the module seems to work fine):

    * user warning: Unknown column 'node.type' in 'where clause' query: SELECT n.nid FROM node n WHERE ((n.moderate != 1)) AND ((case node.type WHEN 'stormexpense' THEN 0 WHEN 'storminvoice' THEN 0 WHEN 'storminvoiceitem' THEN 0 WHEN 'stormknowledgebase' THEN 0 WHEN 'stormnote' THEN 0 WHEN 'stormorganization' THEN 0 WHEN 'stormperson' THEN 0 WHEN 'stormproject' THEN 0 WHEN 'stormtask' THEN 0 WHEN 'stormticket' THEN 0 WHEN 'stormtimetracking' THEN 0 else 1 end)=1) AND ( n.status = 1 AND n.nid IN (2, 3, 4, 5, 6)) in /var/www/drupal/includes/menu.inc on line 986.
    * user warning: Unknown column 'node.type' in 'where clause' query: SELECT n.nid FROM node n WHERE ((n.moderate != 1)) AND ((case node.type WHEN 'stormexpense' THEN 0 WHEN 'storminvoice' THEN 0 WHEN 'storminvoiceitem' THEN 0 WHEN 'stormknowledgebase' THEN 0 WHEN 'stormnote' THEN 0 WHEN 'stormorganization' THEN 0 WHEN 'stormperson' THEN 0 WHEN 'stormproject' THEN 0 WHEN 'stormtask' THEN 0 WHEN 'stormticket' THEN 0 WHEN 'stormtimetracking' THEN 0 else 1 end)=1) AND ( n.status = 1 AND n.nid IN (8, 32, 33, 34)) in /var/www/drupal/includes/menu.inc on line 986.

This warning appears for anonymous users, but not for logged-in users.

Thanks & greetings,
-asb

Comments

Roberto Gerola’s picture

On which page ?
It seems that the db_rewrite_sql hook is not called correctly.

Roberto Gerola’s picture

Assigned: Unassigned » Roberto Gerola

I think I have fixed it now.
It should be fixed now in the latest storm.module file in cvs.

Can you test it ? Thanks.

Roberto Gerola’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

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