[DC-743] Incompatibilty between fixture import and accessors extends Created: 16/Jun/10 Updated: 22/Jul/11
|Component/s:||Data Fixtures, Import/Export|
|Reporter:||Brice Favre||Assignee:||Jonathan H. Wage|
Window, PHP5, Symfony
I had a problem when i try to import data with an extended accessors when i try to insert a content with a relation. I discovered this problem in symfony.
For example, here is my table :
And the fixture :
I import it with symfony doctrine:data-load and it works.
If i add a news.class.php and extends the autogenerated class it fails.
WhenDoctrine_Data_Import finds the setAuthor function, it wont transform author1 in object so $v will be a string, not an sfGuardUser object.
What do you think? Is a common behavior, how can i extends my accessor?
|Comment by ryan [ 22/Jul/11 ]|
this is the same issue as DC-735