l3pp4rd/DoctrineExtensions — Issue #219: Error when not using sortablegroups
Author: nielsilmer
Created: 2012-01-02 08:17:17+00:00
State: open

When i don't use sortablegroups in annotation i'll get this error:

Notice: Undefined index: groups in ***\runderen\vendor\gedmo-doctrine-extensions\lib\Gedmo\Sortable\SortableListener.php line 107

The $config['groups'] is null

// Get groups
$groups = array();
foreach ($config['groups'] as $group) {
$groups[$group] = $meta->getReflectionProperty($group)->getValue($object);
}

I use symfony2 with the StofDoctrineExtensionsBundle + DoctrineExtensions