aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas <>2022-08-24 10:18:15 +0200
committerThomas <>2022-08-24 10:18:15 +0200
commit08dec8b7cbb2ceb0b61da616fa336cce9cd52fd0 (patch)
treeee5d22acf6b1d3b4d159910532036066bd7342e2
parent53aa46c630e6298f63dc7f09ab26aa914b8e021f (diff)
downloadNational_eIDAS_Gateway-08dec8b7cbb2ceb0b61da616fa336cce9cd52fd0.tar.gz
National_eIDAS_Gateway-08dec8b7cbb2ceb0b61da616fa336cce9cd52fd0.tar.bz2
National_eIDAS_Gateway-08dec8b7cbb2ceb0b61da616fa336cce9cd52fd0.zip
chore(UX): show transactionId in errorpage
-rw-r--r--basicConfig/ms-proxyservice/properties/messages.properties1
-rw-r--r--basicConfig/ms-proxyservice/properties/messages_de.properties1
-rw-r--r--basicConfig/ms-proxyservice/templates/error_message.html4
3 files changed, 6 insertions, 0 deletions
diff --git a/basicConfig/ms-proxyservice/properties/messages.properties b/basicConfig/ms-proxyservice/properties/messages.properties
index 03b355fa..fa0141e5 100644
--- a/basicConfig/ms-proxyservice/properties/messages.properties
+++ b/basicConfig/ms-proxyservice/properties/messages.properties
@@ -3,6 +3,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/ms-proxyservice/properties/messages_de.properties b/basicConfig/ms-proxyservice/properties/messages_de.properties
index 4e843e44..0928b5e6 100644
--- a/basicConfig/ms-proxyservice/properties/messages_de.properties
+++ b/basicConfig/ms-proxyservice/properties/messages_de.properties
@@ -3,6 +3,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/ms-proxyservice/templates/error_message.html b/basicConfig/ms-proxyservice/templates/error_message.html
index eba1c5fd..6924e7b7 100644
--- a/basicConfig/ms-proxyservice/templates/error_message.html
+++ b/basicConfig/ms-proxyservice/templates/error_message.html
@@ -41,6 +41,10 @@
<!-- grouped external errorCodes -->
<p><b th:text="#{gui.errorpage.msg.errorcode}">Code:</b> <span th:text="${extErrorCode}"></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>
+
<p><b th:text="#{gui.errorpage.msg.errormsg}">Msg:</b> <span th:text="${#messages.msgWithParams('__${errorCode}__', '__${errorParams}__')}"></span></p>
</div>
</div>