fix bug using wrong profile when profiling recursive properties

This commit is contained in:
Grahame Grieve 2024-07-28 20:02:25 +08:00
parent 68fbee28bc
commit f0531e9d66
1 changed files with 1 additions and 1 deletions

View File

@ -506,7 +506,7 @@ public class ProfileUtilities {
for (ElementDefinition e : list) { for (ElementDefinition e : list) {
if (id.equals(e.getId())) if (id.equals(e.getId()))
return getChildMap(profile, e); return getChildMap(src, e);
} }
throw new DefinitionException(context.formatMessage(I18nConstants.UNABLE_TO_RESOLVE_NAME_REFERENCE__AT_PATH_, element.getContentReference(), element.getPath())); throw new DefinitionException(context.formatMessage(I18nConstants.UNABLE_TO_RESOLVE_NAME_REFERENCE__AT_PATH_, element.getContentReference(), element.getPath()));