From 4719922883b4126491e8128d32cb243422d344ca Mon Sep 17 00:00:00 2001 From: alexm Date: Fri, 11 Aug 2023 13:20:02 +0200 Subject: [PATCH] refs #5941 fix(support-dialog): change message, test: fix e2e --- front/core/components/support-dialog/index.html | 4 ++-- front/core/locale/en.yml | 3 ++- front/core/locale/es.yml | 3 ++- front/salix/module.js | 2 +- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/front/core/components/support-dialog/index.html b/front/core/components/support-dialog/index.html index 87887aa6f..d03e1b7f2 100644 --- a/front/core/components/support-dialog/index.html +++ b/front/core/components/support-dialog/index.html @@ -3,7 +3,7 @@
Send cau
@@ -11,7 +11,7 @@ - {{'This email contains more relevant information for the IT team' | translate}} + {{'By sending this ticket, all the data related to the error, the section, the user, etc., are already sent.' | translate}} diff --git a/front/core/locale/en.yml b/front/core/locale/en.yml index 99a9b8049..3f6cb7d71 100644 --- a/front/core/locale/en.yml +++ b/front/core/locale/en.yml @@ -13,4 +13,5 @@ Finalize: Finalize Previous: Back Load more: Load more Auto-scroll interrupted, please adjust the search: Auto-scroll interrupted, please adjust the search -General search: General search \ No newline at end of file +General search: General search +ExplainReason: Explain the reason why this error should not occur diff --git a/front/core/locale/es.yml b/front/core/locale/es.yml index 534989f4d..e9c2311b4 100644 --- a/front/core/locale/es.yml +++ b/front/core/locale/es.yml @@ -65,4 +65,5 @@ No data: Sin datos Undo changes: Deshacer cambios Load more results: Cargar más resultados Send cau: Enviar cau -This email contains more relevant information for the IT team: Este correo contiene más información relevante para el equipo de informática +By sending this ticket, all the data related to the error, the section, the user, etc., are already sent.: Al enviar este cau ya se envían todos los datos relacionados con el error, la sección, el usuario, etc +ExplainReason: Explique el motivo por el que no deberia aparecer este fallo diff --git a/front/salix/module.js b/front/salix/module.js index 2bcac89f9..f8fa0faf0 100644 --- a/front/salix/module.js +++ b/front/salix/module.js @@ -151,7 +151,7 @@ function $exceptionHandler(vnApp, $window, $state, $injector) { const additonalData = { frontPath: $state.current.name, - httpRequest: cause.replace('Possibly unhandled rejection: ', ''), + httpRequest: cause?.replace('Possibly unhandled rejection: ', ''), backError: exception }; vnApp.showError(message, additonalData);