Support transaction in testpage overlay

This commit is contained in:
James Agnew 2017-07-05 20:25:06 -04:00
parent d3fa442958
commit 6c47bd4c51
3 changed files with 9 additions and 2 deletions

View File

@ -9,6 +9,7 @@
<body> <body>
<form action="" method="get" id="outerForm"> <form action="" method="get" id="outerForm">
<input type="hidden" id="serverId" name="serverId" th:value="${serverId}"></input> <input type="hidden" id="serverId" name="serverId" th:value="${serverId}"></input>
<input th:if="${_csrf} != null" type="hidden" th:name="${_csrf.parameterName}" th:value="${_csrf.token}" />
<div th:replace="tmpl-navbar-top :: top" ></div> <div th:replace="tmpl-navbar-top :: top" ></div>

View File

@ -315,8 +315,8 @@
<a th:if="${entry.resource} != null" th:href="${entry.resource.id}" th:text="${entry.resource.idElement.toUnqualified()}" style="font-size: 0.8em"/> <a th:if="${entry.resource} != null" th:href="${entry.resource.id}" th:text="${entry.resource.idElement.toUnqualified()}" style="font-size: 0.8em"/>
</td> </td>
<td th:if="${entry.resource} == null or ${entry.resource.meta.lastUpdatedElement.value} == null"></td> <td th:if="${entry.resource} == null or ${entry.resource.meta.lastUpdatedElement.value} == null"></td>
<td th:if="${entry.resource.meta.lastUpdatedElement.value} != null and ${entry.resource.meta.lastUpdatedElement.today} == true" th:text="${#dates.format(entry.resource.meta.lastUpdated, 'HH:mm:ss')}"></td> <td th:if="${entry.resource} != null and ${entry.resource.meta.lastUpdatedElement.value} != null and ${entry.resource.meta.lastUpdatedElement.today} == true" th:text="${#dates.format(entry.resource.meta.lastUpdated, 'HH:mm:ss')}"></td>
<td th:if="${entry.resource.meta.lastUpdatedElement.value} != null and ${entry.resource.meta.lastUpdatedElement.today} == false" th:text="${#dates.format(entry.resource.meta.lastUpdated, 'yyyy-MM-dd HH:mm:ss')}"></td> <td th:if="${entry.resource} != null and ${entry.resource.meta.lastUpdatedElement.value} != null and ${entry.resource.meta.lastUpdatedElement.today} == false" th:text="${#dates.format(entry.resource.meta.lastUpdated, 'yyyy-MM-dd HH:mm:ss')}"></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>

View File

@ -125,6 +125,12 @@
used and a large number of resources are being created by clients at used and a large number of resources are being created by clients at
the same time. the same time.
</action> </action>
<action type="fix">
Testpage Overlay's transaction method did not work if the response
Bundle contained any entries that did not contain a resource (which
is often the case in more recent versions of HAPI). Thanks to Sujay R
for reporting!
</action>
</release> </release>
<release version="2.5" date="2017-06-08"> <release version="2.5" date="2017-06-08">
<action type="fix"> <action type="fix">