Refactor transaction processing
This commit is contained in:
parent
a3fd23e70a
commit
3ee05b5a62
|
@ -680,9 +680,13 @@ public abstract class BaseTransactionProcessor {
|
||||||
|
|
||||||
nextResourceId = res.getIdElement();
|
nextResourceId = res.getIdElement();
|
||||||
|
|
||||||
if (!nextResourceId.hasIdPart()) {
|
String fullUrl = myVersionAdapter.getFullUrl(nextReqEntry);
|
||||||
if (isNotBlank(myVersionAdapter.getFullUrl(nextReqEntry))) {
|
if (isNotBlank(fullUrl)) {
|
||||||
nextResourceId = newIdType(myVersionAdapter.getFullUrl(nextReqEntry));
|
IIdType fullUrlIdType = newIdType(fullUrl);
|
||||||
|
if (isPlaceholder(fullUrlIdType)) {
|
||||||
|
nextResourceId = fullUrlIdType;
|
||||||
|
} else if (!nextResourceId.hasIdPart()) {
|
||||||
|
nextResourceId = fullUrlIdType;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue