Handle unqualified ID in delete box for testpage overlay
This commit is contained in:
parent
93c545c42c
commit
ba6df6d55a
|
@ -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.");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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.
|
||||
</action>
|
||||
<action type="fix">
|
||||
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.
|
||||
</action>
|
||||
</release>
|
||||
|
||||
<release version="3.5.0" date="2018-09-17">
|
||||
|
|
Loading…
Reference in New Issue