DDC-952 - This nasty inheritance hydration bug slipped in again, fixed again now.
This commit is contained in:
parent
6d27b4760f
commit
b7e522d7a7
@ -115,7 +115,9 @@ class SimpleObjectHydrator extends AbstractHydrator
|
||||
->convertToPHPValue($value, $this->_platform);
|
||||
}
|
||||
|
||||
if (isset($cache[$column])) {
|
||||
// the second and part is to prevent overwrites in case of multiple
|
||||
// inheritance classes using the same property name (See AbstractHydrator)
|
||||
if (isset($cache[$column]) && (!isset($data[$cache[$column]['name']]) || $value !== null)) {
|
||||
$data[$cache[$column]['name']] = $value;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user