#610 - ManyToOne returns wrong ID value (prior ManyToOne with inheritance and null value). Regression introduced in 7.2.1.

This commit is contained in:
Robin Bygrave committed 2016-03-22 09:46:12 +13:00
1 parent 0d8146d453
commit 90f786babd
2 files changed
+30 -7

No files matched your search

@@ -34,6 +34,8 @@ class AssocOneHelpRefInherit extends AssocOneHelp {
// read discriminator to determine the type
InheritInfo rowInheritInfo = inherit.readType(ctx);
if (rowInheritInfo == null) {
// ignore the id property
property.targetIdBinder.loadIgnore(ctx);
return null;
}