Merge pull request #47 from romming/BUG420

Thanks!!
This commit is contained in:
Rob Bygrave committed 2013-11-07 00:08:54 -08:00
commit 4f33fe087e
4 files changed
+81 -1

No files matched your search

@@ -508,7 +508,9 @@ public final class DefaultPersister implements Persister {
} else {
// we need to fetch the Id's to delete (recurse or notify L2 cache/lucene)
List<Object> childIds = manys[i].findIdsByParentId(id, idList, t, null);
delete(targetDesc, null, childIds, t);
if (!childIds.isEmpty()) {
delete(targetDesc, null, childIds, t);
}
}
}
}