KhepinYamlFixturesBundle
KhepinYamlFixturesBundle copied to clipboard
X-to-many relationships not working on autogenerated Doctrine entities
The autogen'd methods on a doctrine model are as follows:
addXxx, removeXxx, getXxxs
We shouldn't need to modify these entities adding a setXxxs
to make it work with the bundle.
Is that on a newer version of Doctrine?
The latest as of yesterday :+1:
Stable, of course.
Alright, I can't test it and older versions of Doctrine I was using were using setXxx
Would you be able to provide a fix and the tests for it?
I'll look into it.
:+1:
Any progress on this front, using version Symfony 2.8.4-DEV and doctrine 1.2 and bundle is importing one-to-many as one-to-one relation (setRelation instead of addRelation) ? Is there a version in which this is fixed?
i'm using khepin/KhepinYamlFixturesBundle 1.0.0.