Improve error message
This commit is contained in:
parent
1ef4e59113
commit
bde55f1872
|
@ -2596,7 +2596,7 @@ public class ProfileUtilities extends TranslatingUtilities {
|
|||
if (derived.hasIsSummaryElement()) {
|
||||
if (!Base.compareDeep(derived.getIsSummaryElement(), base.getIsSummaryElement(), false)) {
|
||||
if (base.hasIsSummary() && !context.getVersion().equals("1.4.0")) // work around a known issue with some 1.4.0 cosntraints
|
||||
throw new Error(context.formatMessage(I18nConstants.ERROR_IN_PROFILE__AT__BASE_ISSUMMARY___DERIVED_ISSUMMARY__, pn, derived.getPath(), base.getIsSummaryElement().asStringValue(), derived.getIsSummaryElement().asStringValue()));
|
||||
throw new Error(context.formatMessage(I18nConstants.ERROR_IN_PROFILE__AT__BASE_ISSUMMARY___DERIVED_ISSUMMARY__, purl, derived.getPath(), base.getIsSummaryElement().asStringValue(), derived.getIsSummaryElement().asStringValue()));
|
||||
base.setIsSummaryElement(derived.getIsSummaryElement().copy());
|
||||
} else if (trimDifferential)
|
||||
derived.setIsSummaryElement(null);
|
||||
|
|
Loading…
Reference in New Issue