Consultor Eletrônico



Kbase P157742: SESSION:SYSTEM-ALERT-BOXES=FALSE does not prevent all errors from displaying as alert-boxes
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   22/12/2009
Status: Unverified

SYMPTOM(s):

SESSION:SYSTEM-ALERT-BOXES=FALSE does not prevent all errors from displaying as alert-boxes

The behaviour of SESSION:SYSTEM-ALERT-BOXES=FALSE depends on the ABL statement used

Example generated by killing database server when client is querying the database:

FOR EACH => Error 735 is displayed in the message area as expected
QUERY-PREPARE => Error 735 is displayed as an alert

FACT(s) (Environment):

OpenEdge 10.1x
OpenEdge 10.2A
All Supported Operating Systems

CAUSE:

Bug# OE00194217

CAUSE:

Not all ABL statements will obey SESSION:SYSTEM-ALERT-BOXES=FALSE. Currently messages from CONNECT, any dynamic query compilation (QUERY-PREPARE, FIND-FIRST(), etc), compilation of validation expression on browse do not obey SESSION:SYSTEM-ALERT-BOXES. They are explicitly displayed as alert-box.

FIX:

Add NO-ERROR to statements that do not obey SESSION:SYSTEM-ALERT-BOXES=FALSE to suppress the error/alert-box