sonata-project / SonataClassificationBundle

Symfony SonataClassificationBundle
https://docs.sonata-project.org/projects/SonataClassificationBundle
MIT License
89 stars 115 forks source link

Class 'Sonata\ClassificationBundle\Document\BaseContext' does not exist #47

Closed webdevilopers closed 10 years ago

webdevilopers commented 10 years ago

I recently updated my SonataMediaBundle to dev-master and since then the SonataClassificationBundle became required in addition to the SonataDatagridBundle.

After updating with composer I started easy-extends for the SonataMediaBundle.

But without success and the following error message: Class 'Sonata\ClassificationBundle\Document\BaseContext' does not exist

I am running ORM and ODM and it looks like there seems to be a problem with the ODM mapping?

Bladrak commented 10 years ago

The ODM mapping may be missing. If you'd like to submit a pull request to fix this you would be most welcomed. In the mean time, you can use the stable version of the vendor to avoid the issue.

webdevilopers commented 10 years ago

For my current app I indeed had to switch back to the stable version. I will keep an eye on it if the problem still exists in the next release.