Closed bircaandrian closed 7 years ago
When saving multiple new entities one by one, the second entity will trigger an update instead, because the identityMap will be set at key ` Therefore the condition $isNew = empty($primaryKey) && !isset($this->identityMap[$mapKey]);`
` Therefore the condition
is problematic
Fixed in #13
When saving multiple new entities one by one, the second entity will trigger an update instead, because the identityMap will be set at key
` Therefore the condition
$isNew = empty($primaryKey) && !isset($this->identityMap[$mapKey]);`is problematic