creating new category leads to an error #3372

Closed
rallek opened this Issue Jan 8, 2017 · 0 comments

Projects

None yet

2 participants

@rallek
Contributor
rallek commented Jan 8, 2017
Q A
Zikula Version 1.4.5
PHP Version 5.5.30

Expected behavior

creating an category should work

Actual behavior

[1] Symfony\Component\Debug\Exception\ContextErrorException: Notice: Undefined index: id
    at n/a
        in /home/www/www.oldtimer-ig-osnabrueck.de/test/Zikula_Core-1.4.5/system/CategoriesModule/Controller/AdminController.php line 415

    at Symfony\Component\Debug\ErrorHandler->handleError('8', 'Undefined index: id', '/home/www/www.oldtimer-ig-osnabrueck.de/test/Zikula_Core-1.4.5/system/CategoriesModule/Controller/AdminController.php', '415', array('request' => object(Zikula_Request_Http), 'mode' => 'new', 'accessLevel' => '500', 'data' => array('name' => 'Testing', 'value' => '', 'status' => 'A', 'display_name' => array('de' => 'Testing', 'en' => 'Testing'), 'display_desc' => array('de' => '', 'en' => ''), 'is_locked' => '0', 'is_leaf' => '0', 'parent' => object(CategoryEntity)), 'args' => array(), 'op' => 'delete', 'processingHelper' => object(CategoryProcessingHelper), 'valid' => true, 'entityManager' => object(EntityManager)))
        in /home/www/www.oldtimer-ig-osnabrueck.de/test/Zikula_Core-1.4.5/system/CategoriesModule/Controller/AdminController.php line 415

    at Zikula\CategoriesModule\Controller\AdminController->updateAction(object(Zikula_Request_Http))
        in  line 

    at call_user_func_array(array(object(AdminController), 'updateAction'), array(object(Zikula_Request_Http)))
        in /home/www/www.oldtimer-ig-osnabrueck.de/test/Zikula_Core-1.4.5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 144

    at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Zikula_Request_Http), '1')
        in /home/www/www.oldtimer-ig-osnabrueck.de/test/Zikula_Core-1.4.5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 64

    at Symfony\Component\HttpKernel\HttpKernel->handle(object(Zikula_Request_Http), '1', true)
        in /home/www/www.oldtimer-ig-osnabrueck.de/test/Zikula_Core-1.4.5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/ContainerAwareHttpKernel.php line 69

    at Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle(object(Zikula_Request_Http), '1', true)
        in /home/www/www.oldtimer-ig-osnabrueck.de/test/Zikula_Core-1.4.5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php line 185

    at Symfony\Component\HttpKernel\Kernel->handle(object(Zikula_Request_Http))
        in /home/www/www.oldtimer-ig-osnabrueck.de/test/Zikula_Core-1.4.5/index.php line 23

Steps to reproduce

create a new category

Tested on two 1.4.5 installs I do get this error

@Guite Guite self-assigned this Jan 8, 2017
@Guite Guite added the Bug label Jan 8, 2017
@Guite Guite added this to the 1.4.6 milestone Jan 8, 2017
@Guite Guite added a commit that closed this issue Jan 8, 2017
@Guite Guite fixed #3372 0fcb7a8
@Guite Guite closed this in 0fcb7a8 Jan 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment