fix bug processing profiles for v1.4.0

This commit is contained in:
Grahame Grieve 2020-06-02 18:21:09 +10:00
parent 314ca0c35c
commit 211ac8fc12
1 changed files with 3 additions and 1 deletions

View File

@ -309,8 +309,10 @@ public abstract class BaseWorkerContext extends I18nBase implements IWorkerConte
for (ElementDefinition ed : sd.getDifferential().getElement()) {
if (ed.getPath().equals("Extension.url") || ed.getPath().endsWith(".extension.url") ) {
ed.setMin(1);
if (ed.hasBase()) {
ed.getBase().setMin(1);
}
}
if ("extension".equals(ed.getSliceName())) {
ed.setSliceName(null);
}