aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas <>2022-08-10 15:48:43 +0200
committerThomas <>2022-08-10 15:48:43 +0200
commit3e38e52ea3a4d5c0931d451f05de9160a6eeb1ac (patch)
tree84edeae1d79319bdee7083078c5be660527f29dc
parent4a736ff50d9af14d810cde11dcae4c71a131a08a (diff)
downloadNational_eIDAS_Gateway-3e38e52ea3a4d5c0931d451f05de9160a6eeb1ac.tar.gz
National_eIDAS_Gateway-3e38e52ea3a4d5c0931d451f05de9160a6eeb1ac.tar.bz2
National_eIDAS_Gateway-3e38e52ea3a4d5c0931d451f05de9160a6eeb1ac.zip
feat(ux): show technical transactionId on errorPage, if available
-rw-r--r--basicConfig/properties/messages.properties1
-rw-r--r--basicConfig/properties/messages_de.properties1
-rw-r--r--basicConfig/templates/error_message.html5
3 files changed, 7 insertions, 0 deletions
diff --git a/basicConfig/properties/messages.properties b/basicConfig/properties/messages.properties
index bac206f0..925aa9df 100644
--- a/basicConfig/properties/messages.properties
+++ b/basicConfig/properties/messages.properties
@@ -8,6 +8,7 @@ gui.errorpage.msg.title=Authentication error
gui.errorpage.msg.information=The authentication stops on account of a process error:
gui.errorpage.msg.errorcode=Error Code:
gui.errorpage.msg.errormsg=Error Message:
+gui.errorpage.msg.transactionId=TransactionId:
gui.errorpage.msg.stacktrace=Stacktrace:
##Country-Selection page
diff --git a/basicConfig/properties/messages_de.properties b/basicConfig/properties/messages_de.properties
index 1686e388..03a16e2d 100644
--- a/basicConfig/properties/messages_de.properties
+++ b/basicConfig/properties/messages_de.properties
@@ -8,6 +8,7 @@ gui.errorpage.msg.title=Es ist ein Fehler aufgetreten
gui.errorpage.msg.information=Der Anmeldevorgang wurde aufgrund eines Fehlers beendet:
gui.errorpage.msg.errorcode=Fehlercode:
gui.errorpage.msg.errormsg=Fehlermeldung:
+gui.errorpage.msg.transactionId=Transactionsnummer:
gui.errorpage.msg.stacktrace=Stacktrace:
##Country-Selection page
diff --git a/basicConfig/templates/error_message.html b/basicConfig/templates/error_message.html
index 9ecd9f7e..9bb963e3 100644
--- a/basicConfig/templates/error_message.html
+++ b/basicConfig/templates/error_message.html
@@ -42,6 +42,11 @@
<p><b th:text="#{gui.errorpage.msg.errorcode}">Code:</b> <span th:text="${extErrorCode}"></span></p>
<p><b th:text="#{gui.errorpage.msg.errormsg}">Msg:</b> <span th:text="${#messages.msgWithParams('__${errorCode}__', '__${errorParams}__')}"></span></p>
+
+ <p th:if="${T(at.gv.egiz.eaaf.core.impl.utils.TransactionIdUtils).getTransactionId() != null}">
+ <b th:text="#{gui.errorpage.msg.transactionId}"> TransactionsId:</b> <span th:text="${T(at.gv.egiz.eaaf.core.impl.utils.TransactionIdUtils).getTransactionId()}"></span>
+ </p>
+
</div>
</div>