From 2e9be2b71e5e1cb1b5be9fd1e5ef5627d425b1f5 Mon Sep 17 00:00:00 2001 From: hns Date: Tue, 5 Aug 2003 18:43:10 +0000 Subject: [PATCH] Unset propRelation if group/accessname isn't used anymore. --- src/helma/objectmodel/db/DbMapping.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/helma/objectmodel/db/DbMapping.java b/src/helma/objectmodel/db/DbMapping.java index 4485b144..1ffc7621 100644 --- a/src/helma/objectmodel/db/DbMapping.java +++ b/src/helma/objectmodel/db/DbMapping.java @@ -321,6 +321,8 @@ public final class DbMapping implements Updatable { // the subnode relation is also the property relation. if ((subRelation.accessName != null) || (subRelation.groupby != null)) { propRelation = subRelation; + } else { + propRelation = null; } } catch (Exception x) { app.logEvent("Error reading _subnodes relation for " + typename + ": " +