Closed andrewnester closed 8 years ago
Hi, did you solve your problem? I have the same!
@dnzmsc Yes, I have just made 'Application\Sonata\ProductBundle\Entity\Product' class abstract
Thank you very much! But do you think it is a Sonata ecommerce error, or other? Il giorno 17/lug/2014, alle ore 10:01, Nester notifications@github.com ha scritto:
@dnzmsc Yes, I have just made 'Application\Sonata\ProductBundle\Entity\Product' class abstract
— Reply to this email directly or view it on GitHub.
Hi @andrewnester,
Yes, you should have a Application\Sonata\ProductBundle\Entity\Crewneck
entity which extends a Application\Sonata\ProductBundle\Entity\Product
abstract class.
Perfect, thanks!
Andrea Cammoranesi
Il giorno 17/lug/2014, alle ore 12:04, Vincent Composieux notifications@github.com ha scritto:
Hi @andrewnester,
Yes, you should have a Application\Sonata\ProductBundle\Entity\Crewneck entity which extends a Application\Sonata\ProductBundle\Entity\Product abstract class.
— Reply to this email directly or view it on GitHub.
This issue is very old. Can you please check this against the latest master version?
Feel free to reopen if this error still exists.
Hi,
I have extended SonataProductBundle form sonata-poroject/ecommerce:2.x-dev and I get the same error
When extending this Bundle the abstract class is not extended as abstract, is that possible to make it so ?
Hi I am receiveing Entity 'Application\Sonata\ProductBundle\Entity\Product' has to be part of
the discriminator map of 'Application\Sonata\ProductBundle\Entity\Product'
to be properly mapped in the inheritance hierarchy. Alternatively you can m
ake 'Application\Sonata\ProductBundle\Entity\Product' an abstract class to
avoid this exception from occurring.
Yes, I created Product Prototype and Yes, it extends Product class
Here is my config