diff --git a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/search/SearchCoordinatorSvcImpl.java b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/search/SearchCoordinatorSvcImpl.java
index 98dc8b71d71..020e8ce35f8 100644
--- a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/search/SearchCoordinatorSvcImpl.java
+++ b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/search/SearchCoordinatorSvcImpl.java
@@ -108,7 +108,7 @@ public class SearchCoordinatorSvcImpl implements ISearchCoordinatorSvc {
}
}
if (myCustomIsolationSupported == false) {
- ourLog.warn("JPA dialect does not support transaction isolation! This can have an impact on search performance.")
+ ourLog.warn("JPA dialect does not support transaction isolation! This can have an impact on search performance.");
}
}
diff --git a/hapi-fhir-testpage-overlay/src/main/java/ca/uhn/fhir/to/Controller.java b/hapi-fhir-testpage-overlay/src/main/java/ca/uhn/fhir/to/Controller.java
index 54f95e22e24..8e701917867 100644
--- a/hapi-fhir-testpage-overlay/src/main/java/ca/uhn/fhir/to/Controller.java
+++ b/hapi-fhir-testpage-overlay/src/main/java/ca/uhn/fhir/to/Controller.java
@@ -123,7 +123,12 @@ public class Controller extends BaseController {
long start = System.currentTimeMillis();
try {
- client.delete().resourceById(new IdDt(id)).execute();
+ IdDt resourceId = new IdDt(id);
+ if (!resourceId.hasResourceType()) {
+ resourceId = resourceId.withResourceType(def.getName());
+ }
+
+ client.delete().resourceById(resourceId).execute();
} catch (Exception e) {
returnsResource = handleClientException(client, e, theModel);
}
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 6a9d8d05d35..ce8791e6c1c 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -91,6 +91,10 @@
be performed periodically in the background in order to keep a reasonably fresh copy
of the results in the query cache.
+
+ When using the testpage overlay to delete a resource, currently a crash can occur
+ if an unqualified ID is placed in the ID text box. This has been corrected.
+