zikula-modules / DizkusModule

Official repository for Dizkus, a fully integrated forum solution for Zikula 1.4+
21 stars 7 forks source link

Can't move or join topics #215

Closed damon18 closed 11 years ago

damon18 commented 11 years ago

New install of Dizkus from latest pull.

Created new topic under the Carrot forum and tried to move it to Vegetables, then created a second topic and tried to join it with the first. Both times got the error below.

Got

Notice: Undefined index: forum_id in C:\xampp\htdocs\core\src\modules\zikula-dizkus\Zikula\Module\DizkusModule\Api\PermissionApi.php line 123
500 Internal Server Error - ContextErrorException

Stack Trace
in C:\xampp\htdocs\core\src\modules\zikula-dizkus\Zikula\Module\DizkusModule\Api\PermissionApi.php at line 123   -
                } else {
                    if (is_array($args)) {
                        // reconsititute object
                        $forum = $this->entityManager->find('Zikula\Module\DizkusModule\Entity\ForumEntity', $args['forum_id']);
                        $userId = isset($args['user_id']) ? $args['user_id'] : null;
                    } else {
                        return LogUtil::registerArgsError();