Consultor Eletrônico



Kbase P139692: ABL: Error is not propagated to caller when ROUTINE-LEVEL ON ERROR UNDO, THROW is used
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   13/01/2009
Status: Unverified

SYMPTOM(s):

ABL: Error is not propagated to caller when ROUTINE-LEVEL ON ERROR UNDO, THROW is used

Error that occur in a RETURN statement is not thrown back to caller even though the ROUTINE-LEVEL ON ERROR UNDO, THROW statement is used

When running the following procedure, the message "should not see this message" is displayed unexpectedly:

ROUTINE-LEVEL ON ERROR UNDO, THROW.
DO ON ERROR UNDO, LEAVE:
RUN p1.
MESSAGE "should not see this message"
VIEW-AS ALERT-BOX INFO BUTTONS OK.
END.
PROCEDURE p1:
RETURN ENTRY(2,"").
END.

FACT(s) (Environment):

All Supported Operating Systems
OpenEdge 10.1C
OpenEdge 10.1C01 Service Pack
OpenEdge 10.1C02 Service Pack
OpenEdge 10.1C03 Service Pack

CAUSE:

Bug# OE00179792

FIX:

Upgrade to OpenEdge 10.2A or later