ConfirmHandler receives wrong Message when Confirm() with implicit StrSubstNo() is used.
Hello all!
I am working on automated tests for one of our new apps and I have issues with ConfirmHandlers not receiving the whole message text when using Confirm() with Values for implicit StrSubstNo().
For example, when my Confirm looks like this:
where labels are:
ConfirmHandler receives Message with only ConfirmChangeQst text, without having %1 replaced with BillToPartnerTxt:
When I change Confirm to include explicit StrSubstNo:
ConfirmHandler receives correct Message:
I guess this is a bug? I am working on version 22.1.
BR, Matjaž
Hey, @MatjazSega, good to see you around here.
I was pointed to this issue by Kilian Seizinger as I had just reported it to MS on yammer and wrote a blog post about it: https://www.fluxxus.nl/index.php/bc/getting-handed-over-the-full-text-to-your-confirmhandler/.
Hey @lvanvugt !
Yeah, I've encountered this issue before, but I could usually avoid it by checking just the beginning of the confirm message. This time, it was impossible and I really did not feel like changing the code to enable automated tests...
I'm just realizing that I might have picked a wrong place to report this bug - Yammer is probably a better place for platform bugs.
@nikolakukrika has created an internal bug now.