DDC-997 - Fix bug in hydration that came up with DDC-117
This commit is contained in:
parent
975d6ada66
commit
f70ee3a038
@ -194,6 +194,7 @@ abstract class AbstractHydrator
|
|||||||
$cache[$key]['isMetaColumn'] = true;
|
$cache[$key]['isMetaColumn'] = true;
|
||||||
$cache[$key]['fieldName'] = $fieldName;
|
$cache[$key]['fieldName'] = $fieldName;
|
||||||
$cache[$key]['dqlAlias'] = $this->_rsm->columnOwnerMap[$key];
|
$cache[$key]['dqlAlias'] = $this->_rsm->columnOwnerMap[$key];
|
||||||
|
$classMetadata = $this->_em->getClassMetadata($this->_rsm->aliasMap[$cache[$key]['dqlAlias']]);
|
||||||
$cache[$key]['isIdentifier'] = $classMetadata->isIdentifier($fieldName);
|
$cache[$key]['isIdentifier'] = $classMetadata->isIdentifier($fieldName);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user