ZF-Commons / zfc-rbac

Role-based access control module to provide additional features on top of Zend\Permissions\Rbac
BSD 3-Clause "New" or "Revised" License
181 stars 111 forks source link

Problem with doctrine update #377

Open Nirzol opened 6 years ago

Nirzol commented 6 years ago

Hello there ! When I update doctrine/orm 2.5.14 to 2.6 , I get this error :

( ! ) Notice: Undefined index: permission_name in .../vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/DefaultQuoteStrategy.php on line 39

1 | 0.0004 | 366008 | {main}( ) | .../index.php:0 2 | 0.7384 | 3234432 | Zend\Mvc\Application->run( ) | .../index.php:47 3 | 0.7817 | 3273688 | Zend\EventManager\EventManager->triggerEventUntil( ) | .../Application.php:332 4 | 0.7817 | 3273688 | Zend\EventManager\EventManager->triggerListeners( ) | .../EventManager.php:179 5 | 0.7833 | 3275968 | Zend\Mvc\DispatchListener->onDispatch( ) | .../EventManager.php:322 6 | 0.8274 | 3722784 | Ent\Controller\RoleController->dispatch( ) | .../DispatchListener.php:138 7 | 0.8275 | 3723104 | Zend\EventManager\EventManager->triggerEventUntil( ) | .../AbstractController.php:106 8 | 0.8275 | 3723104 | Zend\EventManager\EventManager->triggerListeners( ) | .../EventManager.php:179 9 | 0.8289 | 3727616 | ...\Controller\RoleController->onDispatch( ) | .../EventManager.php:322 10 | 0.8291 | 3727656 | ...\Controller\RoleController->listAction( ) | .../AbstractActionController.php:78 11 | 0.8291 | 3727656 | ...\Controller\RoleController->isGranted( ) | .../RoleController.php:40 12 | 0.8291 | 3728032 | ...\Controller\RoleController->__call( ) | .../RoleController.php:40 13 | 0.8313 | 3730472 | call_user_func_array:{/Users/egrondin/workspace/EntPersonnels/vendor/zendframework/zend-mvc/src/Controller/AbstractController.php:276} ( ) | .../AbstractController.php:276 14 | 0.8313 | 3730864 | ZfcRbac\Mvc\Controller\Plugin\IsGranted->__invoke( ) | .../AbstractController.php:276 15 | 0.8313 | 3730864 | ZfcRbac\Service\AuthorizationService->isGranted( ) | .../IsGranted.php:56 16 | 1.4302 | 4232256 | Rbac\Rbac->isGranted( ) | .../AuthorizationService.php:130 17 | 1.4303 | 4232928 | ...\Entity\EntHierarchicalRole->hasPermission( ) | .../Rbac.php:51 18 | 1.4328 | 4235896 | Doctrine\ORM\PersistentCollection->matching( ) | .../EntHierarchicalRole.php:184 19 | 1.4380 | 4307128 | Doctrine\ORM\Persisters\Collection\ManyToManyPersister->loadCriteria( ) | .../PersistentCollection.php:661 20 | 1.4404 | 4310832 | Doctrine\ORM\Mapping\DefaultQuoteStrategy->getColumnName( ) | .../ManyToManyPersister.php:264

Someone can help ? thanks !