[bug] Création de catégories de documents dans l'interface admin
Depuis la page document_category_index
située dans la section admin, on ne peut pas créer de nouvelle catégorie:
Too few arguments to function Chill\DocStoreBundle\Entity\DocumentCategory::__construct(), 0 passed in /var/www/app/vendor/chill-project/chill-doc-store/Controller/DocumentCategoryController.php on line 40 and exactly 2 expected
Et en effet dans le controller on instancie sans arguments, alors que le constructeur de l'entité en réclame 2.
Je ne comprends pas l'intention du code actuel, c'est pourquoi j'hésite à corriger moi-même.
Edited by Mathieu