Posted by solemanus on May 19, 2011 at 9:44pm
7 followers
Jump to:
| Project: | Views Calc |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (duplicate) |
Issue Summary
I'm having a rather strange problem. Views Calc does not sum correctly unless a user has the "administer node" permission enabled. It adds more, as if it's including additional values. I first noticed this problem with version Views Calc 6.x-1.3. I updated to the dev version and am still having this issue.
I suspect there's a conflict with another module, but haven't pinpointed it yet. I have Views: 6.x-2.12 running on Drupal 6.20.
I've been banging my head looking for a solution but can't seem to find one other than enabling administer node permission for everyone, which I'm not going to do. Any idea what's going on here?
Comments
#1
I disabled the content access module. This seemed to solve the problem.
#2
Confirming this issue with Views Calc 1.3. Details and steps to reproduce at:
http://drupal.org/node/340334#comment-4955242
http://drupal.org/node/340334#comment-4970704
#3
I am not using content access, but I am using organic groups. Inconsistantly I see sums that include doubling of some of the columns values. Stangely, if I update the nodes being totalled, the problem often corrects itself.
This is using the latest released version. Should I try the dev version?
#4
Seems like there was a core problem with Node Module.
I applied the patch at comment #127
(http://drupal.org/node/681760#comment-4371188)
Here is link to patch:
http://drupal.org/files/issues/681760_node_access-127-D6.patch
Solved my problem
#5
The patch mentioned in #4 solved the double (or triple) sum in combination with OG.
#6