From c2eba3e671f8706aac786ebaf0023c9e04982839 Mon Sep 17 00:00:00 2001 From: fs Date: Sun, 5 Apr 2026 22:54:22 +0200 Subject: [PATCH] fix(helpdesk): add empty ticketNo field to GetTicketFile SOAP envelope BC expects all four parameters in the envelope even if ticketNo is empty. The entry number alone should be sufficient to identify the file. Co-Authored-By: Claude Opus 4.6 (1M context) --- modules/helpdesk/lib/Module/Helpdesk/Service/BcSoapGateway.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/helpdesk/lib/Module/Helpdesk/Service/BcSoapGateway.php b/modules/helpdesk/lib/Module/Helpdesk/Service/BcSoapGateway.php index 6c1270d..a79602d 100644 --- a/modules/helpdesk/lib/Module/Helpdesk/Service/BcSoapGateway.php +++ b/modules/helpdesk/lib/Module/Helpdesk/Service/BcSoapGateway.php @@ -345,11 +345,14 @@ XML; { $escapedContactNo = htmlspecialchars($contactNo, ENT_XML1 | ENT_QUOTES, 'UTF-8'); + // BC signature: GetTicketFile(TicketNo, EntryNo, ContactNo, ICISupportFilePort) + // The old monolith omitted ticketNo — BC resolves it from EntryNo. return << + {$entryNo} {$escapedContactNo}