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
Comment #1
solemanus CreditAttribution: solemanus commentedI disabled the content access module. This seemed to solve the problem.
Comment #2
FrancewhoaConfirming 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
Comment #3
dpatte CreditAttribution: dpatte commentedI 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?
Comment #4
JCB CreditAttribution: JCB commentedSeems 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
Comment #5
pvanerk CreditAttribution: pvanerk commentedThe patch mentioned in #4 solved the double (or triple) sum in combination with OG.
Comment #6
pvanerk CreditAttribution: pvanerk commentedComment #7
eclauset CreditAttribution: eclauset commentedI am seeing the same issue (views calc sum is doubled) but for all users. The patch linked above does not change the result.
Comment #8
ashzade CreditAttribution: ashzade commentedIs there a patch for D7? Views Calc is summing x4.
Comment #9
P.Selfin CreditAttribution: P.Selfin commentedsubscribe. Some problem in 7.x-1.0