Fix VRead in web testing UI
This commit is contained in:
parent
b147083f5a
commit
0ea8457a00
|
@ -285,7 +285,11 @@ public class Controller extends BaseController {
|
|||
try {
|
||||
IdDt resid = new IdDt(def.getName(), id, versionId);
|
||||
ourLog.info(logPrefix(theModel) + "Reading resource: {}", resid);
|
||||
client.read(def.getImplementingClass(), resid);
|
||||
if (resid.hasVersionIdPart()) {
|
||||
client.vread(def.getImplementingClass(), resid);
|
||||
} else {
|
||||
client.read(def.getImplementingClass(), resid);
|
||||
}
|
||||
} catch (Exception e) {
|
||||
returnsResource = handleClientException(client, e, theModel);
|
||||
}
|
||||
|
|
|
@ -174,6 +174,10 @@
|
|||
Prevent an unneeded warning when parsing a resource containing
|
||||
a declared extension. Thanks to Matt Blanchette for reporting!
|
||||
</action>
|
||||
<action type="fix">
|
||||
Web Tester UI did not invoke VRead even if a version ID was specified. Thanks
|
||||
to Poseidon for reporting!
|
||||
</action>
|
||||
</release>
|
||||
<release version="1.4" date="2016-02-04">
|
||||
<action type="add">
|
||||
|
|
Loading…
Reference in New Issue