Currently with AF 7.x-2.0 if I click to view a container in order to view just the forums listed within that container the title of the last post is not displayed for any of the forums.

It displays fine when viewing the full list of forums from the main forum page.

This seems to be caused by line 104 in the core-overrides.inc file.

If I change line 104 from

$drupal_static_id = $post_count == 1 ? 'forum_forum_load' : __FUNCTION__;

to

$drupal_static_id = $post_count == 1 ? 'forum_forum_load()' : __FUNCTION__;

It seems to solve the problem.

Comments

troky’s picture

Status: Active » Postponed (maintainer needs more info)

Above change just breaks Drupal caching mechanism.
Please provide steps to reproduce this problem so I can check it out.

xanderol’s picture

StatusFileSize
new12.69 KB
new19.74 KB

Add a forum container then add a forum to the container and add a post to the forum.

Now if you are at the main forum listing you will see the container and forum listed and you will see the title of the last post that was made.

Now click on the container. This takes you from the main forum page to the container page and you will see all of the forums listed in that container.

What you wont see anymore is the title of the last post. The authors name and date it was submitted still displays but not the linked title of the post.

I've tried this with a fresh install and no extra modules and get the same results.

The titles display fine from the container page if you are using 7.x-2.0-rc1

troky’s picture

Status: Postponed (maintainer needs more info) » Needs review
StatusFileSize
new1.8 KB

Try attached patch and report back.
Remember to clear cache...

troky’s picture

StatusFileSize
new1.85 KB

Erased part of the code by mistake. Try this one.

xanderol’s picture

That appears to do the trick.

Thank you very much for your help.

troky’s picture

Status: Needs review » Fixed

Committed.

Status: Fixed » Closed (fixed)

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