From f96548f7ea55d9a5b7d1d3b06ac584b9f45df2bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5vard=20Danielsen?= <39703657+hdanielsen@users.noreply.github.com> Date: Sun, 15 Jan 2023 08:54:46 -0500 Subject: [PATCH] Fix for OCTA-24050 Ensure the error message is showm in PDSOE dialog instgead of ABL: Call ShowOkMessage if oeideisrunning and can show message --- adeuib/vrfyimp.i | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/adeuib/vrfyimp.i b/adeuib/vrfyimp.i index 8e0f50f5..85e7f283 100644 --- a/adeuib/vrfyimp.i +++ b/adeuib/vrfyimp.i @@ -208,6 +208,16 @@ IF AbortImport NE yes THEN DO: IF err_msgs <> "":U THEN DO: RUN adecomm/_setcurs.p (""). + + if oeideisrunning and OEIDE_CanShowMessage() then + run ShowOKMessage in hOEIDEService(subst("&1 analyzed &2by the &3 &4.~nPlease check these problems in your file or environment:~n&5", + IF import_mode EQ "IMPORT":U THEN "The contents of this file cannot be" ELSE "This file cannot be", + IF web_file THEN "remotely " else "", + "{&UIB_NAME}", + IF web_file THEN ' on ' + _brokerURL ELSE '':U, + err_msgs) + ,"Error":u,? ). + else MESSAGE (IF import_mode EQ "IMPORT":U THEN "The contents of this file cannot be" ELSE "This file cannot be")