Prezent / doctrine-translatable

Translatable behaviour extension for Doctrine2
MIT License
26 stars 17 forks source link

Added missing XML driver support to DoctrineAdapter #21

Closed virtualize closed 9 years ago

virtualize commented 9 years ago

While using the translatable in conjunction with FOSUserBundle I got this error (e.g. on app/console cache:clear)

[InvalidArgumentException]
  Cannot adapt Doctrine driver of class Doctrine\ORM\Mapping\Driver\SimplifiedXmlDriver

We have support for XML Drivers here, but it was not used in DoctrineAdapter. Could you please have a look at the proposed solution. Thanks.

sandermarechal commented 9 years ago

Fixed in master with 8874a08. Thanks for the heads-up!