Hi,

thank you! The ticket may be found here: 
http://trac.symfony-project.org/ticket/9315#preview

No patch, no unit test, sorry :( Too unfamliar with the sourcecode to
do qualified proposals...

On 1 Dez., 16:28, Benjamin Eberlei <[email protected]> wrote:
> you are right please open up a ticket and assign it to jwage :-)
>
> On Wed, 1 Dec 2010 07:19:57 -0800 (PST), Johannes Heinen
>
>
>
>
>
>
>
> <[email protected]> wrote:
> > Hi,
>
> > could you please confirm the following issue as a bug? I am unsure if
> > it is a valid issue and worth a ticket:
>
> > Calling
>
> >     $ ./console doctrine:generate:repositories
>
> > leads to a fatal error:
>
> >     "Call to a member function getConfiguration() on a non-object
> > in ....src/vendor/doctrine/lib/Doctrine/ORM/Mapping/
> > ClassMetadataFactory.php on line 135"
>
> > It seams that the class Symfony\Bundle\DoctrineBundle\Command
> > \SymfonyDisconnectedClassMetadataFactory cannot find a valid entity
> > manager ($this->em === NULL).
>
> > The instance is created in
>
> >     Symfony\Bundle\DoctrineBundle\Command
> > \DoctrineCommand::getBundleMetadatas(Bundle $bundle)
>
> > Line  142.
>
> > Neither SymfonyDisconnectedClassMetadataFactory nor one of its
> > ancestors supports an EntityManager as a constructor argument, so man
> > should use
>
> >     $cmf = new SymfonyDisconnectedClassMetadataFactory();
> >     $cmf->setEntityManager($em);
>
> > to pass an instance instead of injecting it into the constructur, as
> > it takes place now:
>
> >     $cmf = new SymfonyDisconnectedClassMetadataFactory($em);
>
> > Could you please rate my report as something like "unimportant" or
> > "you're right, open a ticket" or something like that? Thanks! :)
>
> > and greetings
> > johannes

-- 
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

Reply via email to