Details
Description
It looks like $data is using the wrong index ($srcColumn) in UnitOfWork::createEntity() line 1834 (1854 in github repo, it seems my IDE can't count
) to get the $joinColumnValue. Since $data contains the camelized field names and $srcColumn is the actual field name, should it be:
+ $joinColumnValue = $data[$class->fieldNames[$srcColumn]]; - $joinColumnValue = $data[$srcColumn];
?
Not really, join columns have no field name but you may have encountered one of
DDC-522DDC-383Join columns should really never be mapped to fields, they have no place whatsoever in the objects.