GP-0: Fix tests: Issue in schema search.

This commit is contained in:
Dan 2023-02-14 09:55:32 -05:00
parent 0565d03e69
commit 272a8674ee

View file

@ -641,13 +641,13 @@ public interface TargetObjectSchema {
for (Entry<String, AttributeSchema> ent : sch.getAttributeSchemas().entrySet()) {
List<String> extended = PathUtils.extend(prefix, ent.getKey());
TargetObjectSchema attrSchema = ctx.getSchema(ent.getValue().getSchema());
searchFor(attrSchema, result, extended, parentIsCanonical, type, requireAggregate,
searchFor(attrSchema, result, extended, isCanonical, type, requireAggregate,
requireCanonical, visited);
}
List<String> daExtended = PathUtils.extend(prefix, "");
TargetObjectSchema daSchema =
ctx.getSchema(sch.getDefaultAttributeSchema().getSchema());
searchFor(daSchema, result, daExtended, parentIsCanonical, type, requireAggregate,
searchFor(daSchema, result, daExtended, isCanonical, type, requireAggregate,
requireCanonical, visited);
visited.remove(sch);