Just a quick hack to get your commands up and running:
diff --git
a/src/Symfony/Bundle/DoctrineBundle/Command/CreateDatabaseDoctrineCommand.php
b/src/Symfony/Bundle/DoctrineBundle/Command/Cre
index f67c206..add3918 100644
---
a/src/Symfony/Bundle/DoctrineBundle/Command/CreateDatabaseDoctrineCommand.php
+++
b/src/Symfony/Bundle/DoctrineBundle/Command/CreateDatabaseDoctrineCommand.php
@@ -50,7 +50,7 @@ EOT
protected function execute(InputInterface $input, OutputInterface
$output)
{
$found = false;
- $connections = $this->getDoctrineConnections();
+ $connections = array('default' =>
$this->container->get('database_connection'));
foreach ($connections as $name => $connection) {
if ($input->getOption('connection') && $name !=
$input->getOption('connection')) {
continue;
diff --git
a/src/Symfony/Bundle/DoctrineBundle/Command/DropDatabaseDoctrineCommand.php
b/src/Symfony/Bundle/DoctrineBundle/Command/DropD
index e2f316f..b127b40 100644
---
a/src/Symfony/Bundle/DoctrineBundle/Command/DropDatabaseDoctrineCommand.php
+++
b/src/Symfony/Bundle/DoctrineBundle/Command/DropDatabaseDoctrineCommand.php
@@ -50,7 +50,7 @@ EOT
protected function execute(InputInterface $input, OutputInterface
$output)
{
$found = false;
- $connections = $this->getDoctrineConnections();
+ $connections = array('default' =>
$this->container->get('database_connection'));
foreach ($connections as $name => $connection) {
if ($input->getOption('connection') && $name !=
$input->getOption('connection')) {
continue;
This is not a solid solution but now you can continue working and hoping
someone will fix this in the master branch
--
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