Test for possible bug and notify
The bug does appear if you clean the identityMap from the Group table before querying the DB
This commit is contained in:
parent
2d08773ea7
commit
f2193314d9
@ -803,7 +803,11 @@ class Doctrine_Record_TestCase extends Doctrine_UnitTestCase
|
||||
$user->Group[0] = $record;
|
||||
|
||||
$record = $gf->find(3);
|
||||
$user->Group[1] = $record;
|
||||
if ($record === false) {
|
||||
$this->fail("Group record with id 3 couldn't be retrived");
|
||||
} else {
|
||||
$user->Group[1] = $record;
|
||||
}
|
||||
|
||||
|
||||
$user->save();
|
||||
|
Loading…
Reference in New Issue
Block a user