Enabling "Forum Access" will cause the "Posts" column to show wrong values in /forum.
Only for non-admin users. User 0 will see the right values (ie 4), when other users will see wrong (doubled comments values) (ie 7).
Tryed both ACL stable AND dev.
Desabling the "Forum Access" module will show correct values for all users.

Comments

salvis’s picture

Category: support » bug

This is a duplicate of #242605: Wrong number of posts is displayed and #113611: Forum count incorrect when using access control modules, but let's keep it active here as a signpost.

It's a bug in Drupal core and any node access control module will trigger it; there's nothing Forum Access can do about it.

Please comment on the other issue.

Anonymous’s picture

Title: For non-admin account, "Posts" column shows wrong count values (double) » "Posts" column shows wrong count values (for non-admin account)
Priority: Critical » Normal

The same bug is appearing in Drupal Core 6.2

salvis’s picture

Category: bug » support

(This should not show up as bug against FA, because it's a core bug.)

brianV’s picture

Category: bug » support

This is caused by #284392: db_rewrite_sql causing issues with DISTINCT. Closing as a dupe.

salvis’s picture

No, I don't think #113611: Forum count incorrect when using access control modules is solved by the committed patch.

Oh, and this is for D5, which is still waiting for the patch to be ported.

sqafored’s picture

This is great

salvis’s picture

Version: 5.x-1.10 » 6.x-1.x-dev

Great news: #113611-105: Forum count incorrect when using access control modules has been committed, so this should finally be fixed in the upcoming Drupal 6.21.

I'm leaving this open until 6.21 is out.

D5 is obsolete and there are no more fixes for it.

salvis’s picture

Status: Active » Fixed

Fixed in Drupal Core 6.21 — not a Forum Access issue.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

finex’s picture

Unfortunatly I'm experiencing this bug with Drupal Core 6.22, and the latest -dev version of Advanced Forum + Forum Access + ACL 1.4 :-(

Anyway this time the bug is on the AF module. I will open a new issue on AF with the patch: http://drupal.org/node/1298490