Bug tracker

This ticket has been moved to our new tracker. Open Ticket PHPBB3-8589 now.

Forums with no permissions assigned do not display (fix completed in vcs)

I just created a forum of type category and decided I didn't want to copy any of the permissions from the other forums and that I would manually add the permissions for the desired groups. The category would not show up anywhere to either assign a forum to it nor to assign any permissions to it. It does show up in the list under Manage Forums but that's about it. Ended up copying the permissions from another forum first to get it to show up anywhere.

Comments / History

Changed ticket status from "New" to "Fix in progress"

Action performed by nickvergessen (Development Team Member) on Aug 14th 2009, 08:21

Posted by nickvergessen (Development Team Member) on Aug 14th 2009, 08:21

Not only for cats, but also forums.

Assigned ticket to user "nickvergessen"

Action performed by nickvergessen (Development Team Member) on Aug 14th 2009, 08:21

Posted by Acyd Burn (Server Manager) on Aug 14th 2009, 09:38

What is the actual problem here? Does it not display in the ACP? Which revision introduced this bug?

Posted by nickvergessen (Development Team Member) on Aug 14th 2009, 09:56

the cache isnt cleared, this was introduced by bantu, when adding the copy permissions-function (dont know the rev.)
Fix is here: viewtopic.php?f=165&t=1738685&p=10491045#p10491045

Edit it was kellanved: http://code.phpbb.com/repositories/diff ... p?rev=9896

Edited post #176285

Action performed by nickvergessen (Development Team Member) on Aug 14th 2009, 10:05

Posted by bantu (3.0 Release Manager) on Aug 14th 2009, 10:14

The problem is that it returns before it clears the cache.
Code: Select all
else if (($action != 'edit') && $auth->acl_get('a_fauth') && $auth->acl_get('a_authusers') && $auth->acl_get('a_authgroups') && $auth->acl_get('a_mauth'))
{
    
$this->copy_permission_page($forum_data);
    return;
}

$auth->acl_clear_prefetch();
$cache->destroy('sql'FORUMS_TABLE); 


I'll fix it, sorry nickvergessen. Good catch, David.

Assigned ticket to user "bantu"

Action performed by bantu (3.0 Release Manager) on Aug 14th 2009, 10:14

Linked ticket with changeset: r9977

Action performed by nickvergessen (Development Team Member) on Aug 14th 2009, 10:19

Changed ticket status from "Fix in progress" to "Fix completed in SVN"

Action performed by nickvergessen (Development Team Member) on Aug 14th 2009, 10:20

Assigned ticket to user "nickvergessen"

Action performed by bantu (3.0 Release Manager) on Aug 14th 2009, 10:20

Posted by bantu (3.0 Release Manager) on Aug 14th 2009, 10:21

Better this way. I'll touch the file again, later.

Ticket details

Related SVN changesets