Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Breaks when using Doctrines Annotation #9

Open
gunderjt opened this issue Feb 23, 2016 · 6 comments
Open

Breaks when using Doctrines Annotation #9

gunderjt opened this issue Feb 23, 2016 · 6 comments

Comments

@gunderjt
Copy link

Hello,

Running this bundle alongside bundles that use Doctrine AnnotationDriver causes it to crash due to MappingDriverChain::isTransient() function running getGlobalBasename on every driver. However, that function is undefined for the AnnotationDriver.

It produces this error

UndefinedMethodException in MappingDriverChain.php line 176:
Attempted to call an undefined method named "getGlobalBasename" of class "Doctrine\ORM\Mapping\Driver\AnnotationDriver".

Thanks.

@mmoreram
Copy link
Owner

I don't see how this bundle could break these kind of things.
Did you fix it?

@ilconfo
Copy link

ilconfo commented May 16, 2016

Same problem here, any suggestion?

@aschempp
Copy link

Any idea why AnnotationDriver should be related to bundle autoloading?

@nuncanada
Copy link

AnnotationDriver has a very special autoloading scheme. That is probably related to the problems at hand.

@mmoreram
Copy link
Owner

mmoreram commented Dec 9, 2016

Annotation driver should load annotations inside the bundle itself...
ATM, I can't see how this library could break this feature.
I will let this issue opened anyway...

@harryjfk
Copy link

i had the same problem,i fix it just disabling the automapping property of doctrine in the configuration file. greetings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants