From e8028e20f1a12a064f21da33fbd34c0b719e7d10 Mon Sep 17 00:00:00 2001 From: Francis Reat Date: Thu, 2 Jul 2026 16:30:36 +0200 Subject: [PATCH 1/5] update RFXtoRP_HsrCarrierApt_SegmentationSelections.ftl par defaut (cherry picked from commit 5ba3540254930652e9ba2776ff26cec258d8fb70) --- RFXtoRP_HsrCarrierApt_SegmentationSelections.ftl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RFXtoRP_HsrCarrierApt_SegmentationSelections.ftl b/RFXtoRP_HsrCarrierApt_SegmentationSelections.ftl index 79553d0..ef3e619 100644 --- a/RFXtoRP_HsrCarrierApt_SegmentationSelections.ftl +++ b/RFXtoRP_HsrCarrierApt_SegmentationSelections.ftl @@ -1,6 +1,6 @@ -"SegmentationSelections": [ +"SegmentationKeys": [ ] From b5200d1843f7b5252bc9b3b8932e85cfddb3f3c5 Mon Sep 17 00:00:00 2001 From: Francis Reat Date: Tue, 7 Jul 2026 14:13:43 +0200 Subject: [PATCH 2/5] SCPN1-10996 --- RPtoRFX_AppointmentEvent.ftl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/RPtoRFX_AppointmentEvent.ftl b/RPtoRFX_AppointmentEvent.ftl index 343103b..ae4a149 100644 --- a/RPtoRFX_AppointmentEvent.ftl +++ b/RPtoRFX_AppointmentEvent.ftl @@ -28,7 +28,8 @@ <#assign AddComma = false /> <#assign appointment = eventRP.data /> - <#if !eventRP.commissionsUpdated!false && !eventRP.reasonUpdated!false && !eventRP.slotUpdated!false && !eventRP.carrierInformationUpdated!false> + <#-- processing is stopped because the Updated event contains no relevant change to forward to the WMS. --> + <#if !(eventRP.commissionsUpdated!false) && !(eventRP.reasonUpdated!false) && !(eventRP.slotUpdated!false) && !(eventRP.carrierInformationUpdated!false)> <#stop> [ From 14f4eff9ffef6e9b09e22d856f035378090a0e72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vincent=20LE=20MA=C3=8ETRE?= Date: Tue, 7 Jul 2026 16:08:23 +0200 Subject: [PATCH 3/5] Release 1.2.63+1 --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index e9e11a1..a77715d 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.2.62+1 +1.2.63+1 From 999ab0ebb6595ab0a50031d3ae2ef22b70374d87 Mon Sep 17 00:00:00 2001 From: Nathan SOULIER Date: Mon, 20 Jul 2026 15:06:32 +0000 Subject: [PATCH 4/5] SCPN1-11065 (cherry picked from commit c37727e00069589973880dc6d0e03b31f182d38e) Co-authored-by: Laurie Montant --- RFXtoRP_HsrReceiptList.ftl | 29 +++++++++++++++++------------ RFXtoRP_PlatformLogCreate.ftl | 23 ++++++++++++++++------- 2 files changed, 33 insertions(+), 19 deletions(-) diff --git a/RFXtoRP_HsrReceiptList.ftl b/RFXtoRP_HsrReceiptList.ftl index 02c1a42..30777a4 100644 --- a/RFXtoRP_HsrReceiptList.ftl +++ b/RFXtoRP_HsrReceiptList.ftl @@ -77,18 +77,23 @@ <#include "RFXtoRP_HsrReceiptList_ExecutionflowReceiptCompleted.ftl"> } <#else> - { - <#assign apiReflexPlatformID = ApiReflexPlatformID.ExecutionflowDetected> - "apiReflexPlatformID" : "${apiReflexPlatformID}", - "datas" : - <#include "RFXtoRP_HsrReceiptList_ExecutionflowDetected.ftl"> - }, - { - <#assign apiReflexPlatformID = ApiReflexPlatformID.ExecutionflowReceiptCompleted> - "apiReflexPlatformID" : "${apiReflexPlatformID}", - "datas" : - <#include "RFXtoRP_HsrReceiptList_ExecutionflowReceiptCompleted.ftl"> - } + <#if receipt.line_list ?? && receipt.line_list[0]??> + { + <#assign apiReflexPlatformID = ApiReflexPlatformID.ExecutionflowDetected> + "apiReflexPlatformID" : "${apiReflexPlatformID}", + "datas" : + <#include "RFXtoRP_HsrReceiptList_ExecutionflowDetected.ftl"> + }, + { + <#assign apiReflexPlatformID = ApiReflexPlatformID.ExecutionflowReceiptCompleted> + "apiReflexPlatformID" : "${apiReflexPlatformID}", + "datas" : + <#include "RFXtoRP_HsrReceiptList_ExecutionflowReceiptCompleted.ftl"> + } + <#else> + <#-- No line--> + <#stop> + <#else> <#if receipt.receipt_type == "030"> diff --git a/RFXtoRP_PlatformLogCreate.ftl b/RFXtoRP_PlatformLogCreate.ftl index ffa5985..ffd4790 100644 --- a/RFXtoRP_PlatformLogCreate.ftl +++ b/RFXtoRP_PlatformLogCreate.ftl @@ -1,7 +1,16 @@ <#include "HfRpConfig.ftl"> [ <#assign UUID = UUID.randomUUID()> - <#assign strJsonBody = JsonUtil.espaceQuoteInJsonString(restResponseBody)> + <#assign strJsonBody = JsonUtil.espaceQuoteInJsonString(restResponseBody)?replace("\n", "")?replace("\r", "")> + <#assign maxLen = 32000> + <#if strJsonBody?length gt maxLen> + <#assign strJsonBody = JsonUtil.espaceQuoteInJsonString(restResponseBody)?replace("\n", "")?replace("\r", "")?replace('"logical_key_list"\\s*:\\s*\\[[^\\]]*\\]', '"logical_key_list": []', 'r')> + + <#if strJsonBody?length gt maxLen> + <#assign safeJsonBody = "{\"truncated\": true, \"original_size\": " + strJsonBody?length + "}"> + <#else> + <#assign safeJsonBody = strJsonBody> + { "Header": { "ProjectID": "${projectRP}" @@ -17,22 +26,22 @@ <#assign severity = SeverityLevel.ERROR> "Severity": "${severity}", "Namespace": "ReflexIntegration", - "DateTime": { - "DateTime": "${aDateTime?iso_utc}", - "AuthorTimeZone": "${time_zone_rfx}" + "DateTime": { + "DateTime": "${aDateTime?iso_utc}", + "AuthorTimeZone": "${time_zone_rfx}" }, "TechMessage": { "Code": "${restResponsetMsg.status!"no Code"}", - "Label": ${strJsonBody?truncate(32000,'...')} + "Label": "${safeJsonBody?json_string}" }, "UserMessage": { "Code": "${restResponsetMsg.status!"no Code"}", - "Label": ${strJsonBody?truncate(32000,'...')}, + "Label": "${safeJsonBody?json_string}", "Params": [] }, "DetailElements": [], "CorrelationID": "${id.correlationid!"no Correlationid"}", - "ContextPayload": ${strJsonBody?truncate(32000,'...')}, + "ContextPayload": "${safeJsonBody?json_string}", "Type": "${event}", "Task": "${id.apiRestReflexID!"no Task"}", "OriginalID": "${id.refid!"no OriginalID"?trim?json_string}", From a4dd0a5deccf49a870e686f2019695477097a496 Mon Sep 17 00:00:00 2001 From: Nathan SOULIER Date: Thu, 23 Jul 2026 10:38:12 +0200 Subject: [PATCH 5/5] Release 1.2.63+2 --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index a77715d..7cda77c 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.2.63+1 +1.2.63+2