Kbase P123332: Error 12119 does not update ERROR-STATUS:ERROR
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  16/10/2008 |
|
Status: Unverified
FACT(s) (Environment):
OpenEdge 10.x
SYMPTOM(s):
Error 12119 does not update ERROR-STATUS:ERROR
Using function BASE64-DECODE
Error converting Base64 to RAW (12119)
ERROR-STATUS:ERROR is not set to TRUE after error 12119 is reported
ERROR-STATUS:GET-NUMBER does report error 12119
Invalid Base64 conversion does not cause ERROR-STATUS-ERROR to be set
CAUSE:
This is expected behavior. In the ABL, only statements raise the ERROR condition. Functions, either built-in or user-defined, do not.
FIX:
As a workaround, test ERROR-STATUS:NUM-MESSAGES to be greater than 1 instead of testing ERROR-STATUS:ERROR.