Fix bug processing snapshot
This commit is contained in:
parent
74a5c4cf43
commit
3e98c25cc2
|
@ -165,7 +165,7 @@ public class ProfilePathProcessor {
|
||||||
ElementDefinition res = null;
|
ElementDefinition res = null;
|
||||||
List<TypeSlice> typeList = new ArrayList<>();
|
List<TypeSlice> typeList = new ArrayList<>();
|
||||||
// just repeat processing entries until we run out of our allowed scope (1st entry, the allowed scope is all the entries)
|
// just repeat processing entries until we run out of our allowed scope (1st entry, the allowed scope is all the entries)
|
||||||
while (cursors.baseCursor <= getBaseLimit()) {
|
while (cursors.baseCursor <= getBaseLimit() && cursors.baseCursor < cursors.base.getElement().size()) {
|
||||||
// get the current focus of the base, and decide what to do
|
// get the current focus of the base, and decide what to do
|
||||||
ElementDefinition currentBase = cursors.base.getElement().get(cursors.baseCursor);
|
ElementDefinition currentBase = cursors.base.getElement().get(cursors.baseCursor);
|
||||||
String currentBasePath = profileUtilities.fixedPathSource(getContextPathSource(), currentBase.getPath(), getRedirector());
|
String currentBasePath = profileUtilities.fixedPathSource(getContextPathSource(), currentBase.getPath(), getRedirector());
|
||||||
|
|
Loading…
Reference in New Issue