Kbase P176916: GET NEXT statement returns from block when session FIND trigger does a RETURN ERROR
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  09/11/2010 |
|
Status: Unverified
SYMPTOM(s):
GET NEXT statement returns from block when session FIND trigger does a RETURN ERROR
The GET NEXT statement does not exit the block in versions other than 10.1C04
OpenEdge 10.1C04
FACT(s) (Environment):
OpenEdge 10.1C
All Supported Operating Systems
OpenEdge Category: Language (4GL/ABL)
CAUSE:
As part of the new structured error handling a global change was made that all RETURN ERROR statements would propagate the error up the chain. This was subsequently found to be the wrong thing to do in certain cases (the GET NEXT being one such case) and this incorrect behavior was fixed in 10.2A.
FIX:
Either upgrade to OpenEdge 10.2A or later or stay on OpenEdge 10.1C but don't utilize a service pack later than 10.1C03