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

Entities xml files names need to be changed #35

Closed
psycha opened this issue May 24, 2011 · 2 comments
Closed

Entities xml files names need to be changed #35

psycha opened this issue May 24, 2011 · 2 comments

Comments

@psycha
Copy link

psycha commented May 24, 2011

Hello. I've used Symfony2(Beta2) and when i try to create schema i get such error:
[ReflectionException]
Class Stof\DoctrineExtensionsBundle\Entity\Stof\DoctrineExtensionsBundle\Entity\AbstractTranslation does not exist

I've tried to find out the reason and it seems the reason is in names of entities xml files.

because in class XmlDriver
in method getAllClassNames
get next code $classes[] = $prefix.''.str_replace('.', '', $fileName); - here we get double namespace.

@stof
Copy link
Owner

stof commented May 24, 2011

The needed change has been commited.

@stof stof closed this as completed May 24, 2011
@psycha
Copy link
Author

psycha commented May 24, 2011

still have the same error

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

2 participants