Consultor Eletrônico



Kbase P136709: 4GL/ABL: Remote User Defined Function (UDF) is inconsistent with local UDF.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   30/10/2008
Status: Unverified

SYMPTOM(s):

4GL/ABL: Remote User Defined Function (UDF) is inconsistent with local UDF.

A User Defined Function (UDF), *THAT DOES NOT EXPLICITLY RETURN A VALUE*, (i.e. has no RETURN SomeValue statement) will return a different result when run remotely (on an AppServer) than when run locally.

A User Defined Function (UDF), that does not explicitly return a value, returns the unknown value (?) when run locally and the logical FALSE value when run on the AppServer.

FACT(s) (Environment):

All Supported Operating Systems
OpenEdge 10.1C01 Service Pack

CAUSE:

As documented, all User Defined Functions must explicitly return a value. If no value is explicitly returned by the UDF, then the value returned by that function is undefined.

CAUSE:

Bug# OE00174705

FIX:

Ensure that every User Defined Function (UDF) explicitly returns a value.