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