Closed (fixed)
Project:
Nodetype access
Version:
7.x-1.0-beta2
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Feb 2012 at 08:47 UTC
Updated:
28 Feb 2012 at 17:30 UTC
After installing I get the following error when trying to view content..
PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'c.type' in 'where clause': SELECT COUNT(*) AS expression FROM {comment} c INNER JOIN {node} n ON n.nid = c.nid WHERE (c.nid = :db_condition_placeholder_0) AND (c.type IN (:types_0, :types_1, :types_2)) ; Array ( [:db_condition_placeholder_0] => 151 [:types_0] => article [:types_1] => event [:types_2] => page ) in PagerDefault->execute() (line 74 of C:\wamp\www\dev\includes\pager.inc).
Comments
Comment #1
geek-merlinoops, the kinda pathologic comments case...
committed a quick patch to the dev version which should fix this - can you test it?
Comment #2
wipeout_dude commentedDev version appears to be working now.. :)
Interesting that these access permissions completely override anything set with "Content Access" or "Taxonomy Access Control" modules.. So it appears that you can't have any granular access control when using this.. If you have nodetype_access - view to a content type you will have it to ALL content of that node type.. Similarly if not grated access explicitly other access control modules cant grant access either..
So its a great module but as a feature request I would like to see it work with the other access control modules like the core "view published content" permission does if its possible to give more granularity.. Not sure this is possible though..
Comment #3
geek-merlinGreat it works now.
Created #1440096: Implement access broker