I have a mapped-superclass with a string property 'name' which belongs to a bundle (SyliusAssortmentBundle, actually).
I have a class in my bundles that inherits from that mapped-superclass.
I'd like to add Translatable capabilities to my entity by using DoctrineExtensions (Translatable).
Since I cannot redeclare the property 'name' in my mapping, I am trying to override the mapping of that property following this doctrine documentation:
http://docs.doctrine-project.org/en/latest/reference/inheritance-mapping.html#attribute-override
Inspired by this, I added this to my product.orm.xml file
this doesn't seem to be working. I have added a dummie property (trans_name) to my entity so I am sure that the Translatable Extension is working.
After persisting with something like:
just the 'trans_name' has been saved to 'ext_translations' table.
So. Is it possible to override the mapping and add Translatable?
If so. What am I doing wrong?...
thanks