It sounds like something is asking for a parameter when it should be asking
for a service. Can you provide a trace for the exception (add --verbose to
the command)?

k

On Jun 19, 2011, at 1:08 AM, Dan Leech <dan.t.le...@gmail.com> wrote:

hi

In a new project with BETA5, following the "How to use MongoDB" article (btw
the vendor dependencies section is out of date)

I created some entities and ran doctrine:mongodb:mapping:info and got the
following error:


[InvalidArgumentException]

  The parameter "doctrine.odm.mongodb.default_document_manager" must be
defined.

To fix I added the following to
"DoctrineMongoDBBundle\DependencyInjection\DoctinreMongoDBExtension::loadDocumentManagers"

  $container->setParameter('doctrine.odm.mongodb.default_document_manager',
$defaultDM);

Bug?

cheers

dan

-- 
Dan Leech

Web Developer
www.dantleech.com

-- 
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 symfony-devs@googlegroups.com
To unsubscribe from this group, send email to
symfony-devs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

-- 
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 symfony-devs@googlegroups.com
To unsubscribe from this group, send email to
symfony-devs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to