Skip to content

Commit

Permalink
mapper: fixed freezing when table has no primary key [closes #143]
Browse files Browse the repository at this point in the history
  • Loading branch information
hrach committed Mar 12, 2016
1 parent dcc483a commit 2c3b5ce
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Mapper/Dbal/StorageReflection/StorageReflection.php
Expand Up @@ -234,7 +234,6 @@ protected function findManyHasManyPrimaryColumns($joinTable, $sourceTable, $targ
}

if (!isset($sourceId, $targetId)) {
$this->platform->clearCache();
throw new InvalidStateException("No primary keys detected for many has many '{$joinTable}' join table.");
}

Expand Down

0 comments on commit 2c3b5ce

Please sign in to comment.