Consultor Eletrônico



Kbase P128681: Session crashes when base64-encode with memptr is used in where clause
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   11/2/2009
Status: Unverified

SYMPTOM(s):

Session crashes when base64-encode with memptr is used in where clause

Invalid data type for indexing 39

FIND info where info.iname = base64-encode(memptr) exclusive-lock NO-ERROR.

FACT(s) (Environment):

Windows
OpenEdge 10.1B

CAUSE:

Bug# OE00164558

CAUSE:

No error was raised when using BASE64-ENCODE in a WHERE clause causing the session to crash

FIX:

As a work around, assign the base64-encode function to a variable.
Example:
DEF var ctemp as character no-undo.
ctemp = base64-encode(memptr).
FIND info where info.iname = ctemp exclusive-lock NO-ERROR.

FIX:

Upgrade to 10.2A or later