Closed gelhaimer closed 11 years ago
It still does not work. Actually, in the documentation you linked to me, there no values for parameter "factory" in config.yml.
So, Symfony reports me this error :
ParseException: Indentation problem in "myconfigfile.yml" at line 8 (near "factory:").
It seems that Symfony does not accept yaml parameters without values. I've checked the indentation and there is 4 spaces as necessary.
So what is the value I must provide to factory ?
anyway, with sf2.1.* you can use the master branch that is in sync with fosub master.
{
"require": {
"pugx/multi-user-bundle": "master-dev"
}
}
without
"friendsofsymfony/user-bundle": "*"
because with composer, dependencies are hierarchical.
Hi there,
I'm new to Symfony2 and Git. I dont know hot to put under light my code. If you would edit it, feel free to do.
I met this error after having configured my bundle to allow a specific hierarchy of entities: Unrecognized options "users" under "pugx_user"
It seems that this file is in cause:
//Provocation/UserBundle/Resources/config/config.yml pugx_multi_user: users: candidat: entity: class: Provocation\UserBundle\Entity\Candidat
factory:
It is a real problem since I can not do anything from now on. Everything has been made as explained if you documentation (maybe not totaly since i've this error). So controllers, forms and entities are made.
I have absolutly no idea about where it comes from. I have checked if the indent were OK in my config.yml, but seems like nothing is wrong in it.
There is how my composer.json is configured (I use Sf2.1.8):