It could be an autoloading issue. Can you try instantiating a Link in the service? (eg: `new Link();`)
-- Jasper N. Brouwer (@jaspernbrouwer) On 2 November 2014 at 18:13:33, Antenne ([email protected]) wrote: > Hi Jasper, > > I cleared the cache, but keep getting the same results. > Could there be a different reason for Doctrine not recognizing my classes? > > If I run doctrine orm:info I see the Entities: > Found 11 mapped entities: > [OK] Gedmo\Translatable\Entity\MappedSuperclass\AbstractTranslation > [OK] > Gedmo\Translatable\Entity\MappedSuperclass\AbstractPersonalTranslation > [OK] Gedmo\Loggable\Entity\MappedSuperclass\AbstractLogEntry > [OK] Gedmo\Tree\Entity\MappedSuperclass\AbstractClosure > [OK] Entities\Url > [OK] Entities\Type > [OK] Entities\Genre > [OK] Entities\Label > [OK] Entities\Webshop > [OK] Entities\Product > [OK] Entities\Link > > The weird thing is even though I updated through doctrine > orm:schema-tool:update --force > > I keep getting the following on doctrine orm:validate-schema > [Mapping] OK - The mapping files are correct. > [Database] FAIL - The database schema is not in sync with the current > mapping file. > > I created the same setup for Entities\Label for instance and that works > just fine. -- You received this message because you are subscribed to the Google Groups "doctrine-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/doctrine-user. For more options, visit https://groups.google.com/d/optout.
