[NL][Telebank] Payment History export crashes when combining entries - #10511
Conversation
…because of string length overflow
…because of string length overflow
Agentic PR Review - Round 1Recommendation: Accept with SuggestionsWhat this PR doesThis fixes the second SuggestionsS1 - Assert against a fixed expected value in the test Risk assessment and necessityRisk: Small and local. Only the NL Telebank SEPA CT export path in codeunit 1222 is touched, plus one new unit test in codeunit 144055 "UT TAB Telebank". There is no change to a public API, event signature, or table field, and no upgrade impact. The only behavior change is that over-long remittance text is now truncated to 140 characters instead of crashing. Necessity: Required. The old code crashes the Payment History export whenever the combined entries are longer than the
|
…because of string length overflow
…because of string length overflow
…because of string length overflow
Agentic PR Review - Round 2Recommendation: Accept with SuggestionsWhat this PR doesThis fixes the SEPA CT export crash in codeunit 1222 where a Status of previous suggestions
New observations (commits since round 1)S2 - New truncation notification path is untested S3 - Silent truncation in non-interactive export runs Risk assessment and necessityRisk: Low and local. Changes stay inside codeunit 1222 (NL Telebank SEPA CT path) plus one test codeunit. The round-2 additions are additive notification UX with correct Necessity: The underlying fix is required, because the old length argument overflowed the
|
[NL][Telebank] Payment History export crashes when combining entries because of string length overflow
What & why
Introducing a standard string-length cap when saving the combined remittance text to the 140-character SEPA CT "ustrd" text element.
Linked work
Fixes AB#647493
How I validated this
What I tested and the outcome (required — be specific: scenarios, commands, screenshots for UI changes)
Added a new automated test for the string-length cap.
Risk & compatibility
Low risk
Compatibility: Makes the combined export more flexible instead of crashing.