With Symfony2 we can create a bundle name like this: - Bundle\FrameworkExtraBundle but we can also add the bundle in a sub-folder: - Bundle/Sension/FrameworkExtraBundle
When calling console commands, who required arguments like --bundle or --namespace : - doctrine:migrations:diff --bundle=Bundle\\Sension\\FrameworkBundle - init:bundle --namespace=Bundle\\Sension\\FrameworkBundle We have an error: [InvalidArgumentException] Unable to initialize the bundle (. is not a defined namespace). Defined namespaces are: Application, Bundle, Symfony\Bundle You can find an example of code in Symfony\Bundle\FrameworkBundle\Command\InitBundleCommand.php line 56. I have created a test case which shows the problem, you can find it here: http://pastebin.com/JGKscGyY. Does anyone can solve the test case ? -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en
