Skip to content

Commit eb1db2b

Browse files
committed
Fix NH-2828
SVN: trunk@6003
1 parent 0b12045 commit eb1db2b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/NHibernate.Test/NHSpecificTest/NH2828/Fixture.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ namespace NHibernate.Test.NHSpecificTest.NH2828
77
{
88
public class Fixture : BugTestCase
99
{
10-
[Test, Ignore("Not fixed yet")]
10+
[Test]
1111
public void WhenPersistShouldNotFetchUninitializedCollection()
1212
{
1313
var companyId = CreateScenario();

src/NHibernate/Engine/CascadingAction.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ public override void Cascade(IEventSource session, object child, string entityNa
324324
public override IEnumerable GetCascadableChildrenIterator(IEventSource session, CollectionType collectionType, object collection)
325325
{
326326
// persists don't cascade to uninitialized collections
327-
return GetAllElementsIterator(session, collectionType, collection);
327+
return GetLoadedElementsIterator(session, collectionType, collection);
328328
}
329329
public override bool DeleteOrphans
330330
{

0 commit comments

Comments
 (0)