DDC-71: Method Doctrine\ORM\Tools\Export\Driver\AnnotationExporter::getClassToExtend() does not exist #5222

Closed
doctrinebot opened this Issue Oct 29, 2009 · 4 comments

2 participants

@doctrinebot

Jira issue originally created by user simonvdd:

In Doctrine\ORM\Tools\Export\Driver\AnnotationExporter, on line 191 & 197, method getClassToExtend() is called, whereas the actual name of the method is _getClassToExtend().
It generates a fatal error when using command line tool symfony doctrine:build --all.

@doctrinebot

Comment created by florian.klein:

I had the same problem with sfDoctrine2Plugin ( http://svn.symfony-project.org/plugins/sfDoctrinePlugin/branches/1.3-2.0 )
But it seems to be fixed as I can't reproduce the problem with ./symfony doctrine:build --all
in rev 6639

@doctrinebot

Comment created by simonvdd:

Well the fix version is 2.0-ALPHA3, and sfDoctrine2Plugin is now embedding 2.0-ALPHA3 (was ALPHA1 when I submited this bug), so it might be OK. I'll check this out ASAP.

@doctrinebot

Comment created by simonvdd:

Well I just downloaded the last version of sfDoctrine2Plugin, and the problem is still there.
Anyway, the method is still called _getClassToExtend(), and lines 191 & 197 are still calling getClassToExtend(), so it should not work I think... Except if it is a kind of magic that PHP allows, and in this case, I don't know about that !

@doctrinebot

Issue was closed with resolution "Fixed"

@jwage jwage was assigned by doctrinebot Dec 6, 2015
@doctrinebot doctrinebot added this to the 2.0-ALPHA3 milestone Dec 6, 2015
@doctrinebot doctrinebot closed this Dec 6, 2015
@doctrinebot doctrinebot added the Bug label Dec 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment