Unset propRelation if group/accessname isn't used anymore.

This commit is contained in:
hns 2003-08-05 18:43:10 +00:00
parent 092cb230c0
commit 2e9be2b71e

View file

@ -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 + ": " +