Hello,

As the subject says, the /forum overview page displays the wrong number of new posts for all topics, for certain users, and I can't find any particular difference between affected and unaffected users. By example, if a topic has 1 new post, then for a small amount of my users it will display as 2 new posts. I have tried giving some of these users different roles in order to see if that changed anything, but no. We know it is somehow related to user accounts, because someone who didn't experience this issue tried logging in with an affected account, and the issue was apparent when he then went to /forum. When he changed back to his normal unaffected user account, the issue was gone (for him).

Another interesting thing is that I have created a custom view for our site, which displays all the latest content and number of new posts related to that content, in a table. The users who see the wrong number of posts in /forum still see the correct amount of posts in the view I created.

The /forum/active, /forum/unanswered and /forum/new pages seem to be working fine as well for all users.

I'm not sure, but I think this started appearing after upgrading to 7.x-2.0 or even 7.x-2.0-RC1. I never noticed until a user told me, because it does not affect my account. I have tried to change the module back to RC1 and also back to a beta version, but it does not remove the problem some users are experiencing now.

The same users that experience this issue, also see the wrong number of pages for threads that have more than one page. When they click on a page number three, for a thread that has only two pages, they will be shown a reply form, but this page has seemingly no other forum content, beyond the reply form.

Can this be fixed?

I hope I managed to explain myself properly.

Best regards,
Ao

Comments

Lily2011’s picture

I had same issue with wrong number of topics for non-admin user accounts. It is fine with admin permission accounts.
Any idea what cause it?

I also use Forum Access module, Taxonomy access control module.

Thanks,

Michelle’s picture

Status: Active » Closed (duplicate)

This is a core issue that was recently fixed in D6 but seems to still be having issues in D7. See #1241854: Any Updates on Incorrect Number of Posts Patch for Drupal 7 (in the presence of node access modules)?

Aonoa’s picture

Thank you, Michelle.

In the issue you linked, Cottser is mentioned a patch which will be in D7.13, that might fix this.

Best regards,
Ao