Views lists with duplicates
edde42 - May 21, 2009 - 09:14
| Project: | Nodeaccess |
| Version: | 6.x-1.3 |
| Component: | Miscellaneous |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
As soon as I installed this module all my views list pages doubled, that is every node was listed twice (dupes). As soon as I deinstalled it went back to normal.
For the nodes in this case I also use a workflow, but did not check the option to let node access have priority on access control.

#1
I notice this too after installing nodeaccess. Funny thing is it only happens for roles I've created or perhaps it's because of a certain setting for a role I've created. Title here needs to be duplicates not dupes! This is a views issue, actually prevents me from being able to use this module.
#2
I'm having the same issue. Not only on pages, on blocks too. I checked the query of the view and nodeaccess seems to add an Inner join when a user with nodeaccess parameters is logged in.
In my case, here it is:
...INNER JOIN node_access na ON na.nid = node.nid WHERE (na.grant_view >= 1 AND ((na.gid = 0 AND na.realm = 'all') OR (na.gid = 2 AND na.realm = 'nodeaccess_rid') OR (na.gid = 4 AND na.realm = 'nodeaccess_rid') OR (na.gid = 4 AND na.realm = 'nodeaccess_uid') OR (na.gid = 4 AND na.realm = 'nodeaccess_author')))...