Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I am experimenting a trouble in using TAC. My Drupal version is 6.17.
All counters node for taxonomy are multiplied for all users but the administrator. This should be a bug because the administrator can see everithing in the correct way.
These includes for examle the summaries in views (i.e.: when argument is not present). Not sure, but probably related to issues about the nuber of forum posts (?).
Thank you for your help.
Comments
Comment #1
xjmHi Akex,
I'm a little unclear on the problem--could you provide some steps to duplicate? Thanks.
Comment #2
Akex CreditAttribution: Akex commentedI have two different vocabularies.
I have this view:
- TYPE : node-view
- FIELDS: All terms (limited to first vocabulary), All terms (limited to second vocabulary), others (node title, non relevant)
- FILTERS: Node type, Published, Vocabulary=First vocabulary
- ARGUMENTS: taxonomy term; VALIDATOR: taxonomy term from the first vocabulary; ACTION IF ARGUMENT NOT PRESENT: summary
This two vocabularies are not used by TAC module.
When I enable TAC module, I see all counters doubled in the summary.
I think this is a bug because:
- if i disable the module, everything is ok.
- the administrator user is the only user that does not experience this trouble, so i think there should be anything wrong in my view!
Thank you for your answer,
sorry if I was uncomplete: I hope this description is enough clear now!
Tell me if you are able to duplicate the problem or i try to add more info.
Comment #3
Akex CreditAttribution: Akex commentedAnother useful information could be this one:
in both cases (admin user and another authenticated user), the query on the database shown by the view preview is the same.
If I execute this on the database, the result is correct.
But the preview result is different!
Views module version: 6.x-2.11
Comment #4
xjmAlright, I understand now, thank you. This problem only seems to occur with Views, correct? If so, I believe it is a duplicate:
#681760: Try to improve performance and eliminate duplicates caused by node_access table joins
You could test the RTBC patch there and see if it resolves the issue for you.
There is also a patch for the forum issue you mention at #113611: Forum count incorrect when using access control modules.
Comment #5
Akex CreditAttribution: Akex commentedYou are right. After applying that patch everything in my website runs perfectly.
I did find #113611: Forum count incorrect when using access control modules, but i couldn't understand why I should patch core if my problems are with access modules.
Reading #681760: Try to improve performance and eliminate duplicates caused by node_access table joins -the discussion you suggested to me-everything became clear in my mind.
Thank you for your help!