From 5775b2684beb8db219da505c614dc8ee0867e95e Mon Sep 17 00:00:00 2001 From: MLenterman Date: Fri, 23 Aug 2024 12:49:26 +0200 Subject: [PATCH] fix: iso639 language code 'eng' should convert to country+language code 'en_GB' instead of 'en_EN' --- .../openforms2bpel-e2e-soapui-project.xml | 2 +- .../xsl/Alpha2ToCountryAndLanguageCode.xslt | 19 +++++++++++++++++++ ...ation_Handler_AddDocumentToCaseCommand.xml | 17 +++++++++++++---- 3 files changed, 33 insertions(+), 5 deletions(-) create mode 100644 src/main/configurations/bpel/Common/xsl/Alpha2ToCountryAndLanguageCode.xslt diff --git a/e2e/SoapUI/openforms2bpel-e2e-soapui-project.xml b/e2e/SoapUI/openforms2bpel-e2e-soapui-project.xml index 9f5e8b8..9860a3c 100644 --- a/e2e/SoapUI/openforms2bpel-e2e-soapui-project.xml +++ b/e2e/SoapUI/openforms2bpel-e2e-soapui-project.xml @@ -20677,7 +20677,7 @@ project.getRestMockServiceByName("Objects API Mock").getMockRunner().stop(); - C:/Projects/openforms2bpel/e2e/SoapUI/test + caseReferenceNumber diff --git a/src/main/configurations/bpel/Common/xsl/Alpha2ToCountryAndLanguageCode.xslt b/src/main/configurations/bpel/Common/xsl/Alpha2ToCountryAndLanguageCode.xslt new file mode 100644 index 0000000..68fbb45 --- /dev/null +++ b/src/main/configurations/bpel/Common/xsl/Alpha2ToCountryAndLanguageCode.xslt @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/configurations/bpel/Configuration_Handler_AddDocumentToCaseCommand.xml b/src/main/configurations/bpel/Configuration_Handler_AddDocumentToCaseCommand.xml index e822416..57770ae 100644 --- a/src/main/configurations/bpel/Configuration_Handler_AddDocumentToCaseCommand.xml +++ b/src/main/configurations/bpel/Configuration_Handler_AddDocumentToCaseCommand.xml @@ -90,8 +90,19 @@ > - + + + + + + + - - - +