Consultor Eletrônico



Kbase P159625: Compiling a procedure or class that references a static property of another class fails if a .r file
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/11/2010
Status: Unverified

SYMPTOM(s):

Compiling a procedure or class that references a static property of another class fails if a .r file for the other class exists

Compiling code with reference to a static class property fails with error 342 and additional errors

An error occurs for the input value, depending on datatype expected, followed by error 342

** Invalid character in numeric input <character>. (76)

** Invalid date input. (85)

** Input value: <semi-random string> should be yes
o. (87)


** Unable to use initial value "<semi-random string>" for variable <variable name>. (342)

Issue only occurs if r-code for specific class is present

Issue is not seen in the session where the r-code file is first generated

FACT(s) (Environment):

Issue not seen if no r-code file present for the class
OpenEdge 10.2B
All Supported Operating Systems

CHANGE:

Upgraded from OpenEdge 10.2A to OpenEdge 10.2B

CAUSE:

Bug# OE00195061

CAUSE:

When the r-code is written to disk, incorrect initial values for properties are written into the file.
In a subsequent session, compiling the reference to the property will cause the referenced class to be loaded from the r-code file. At this point the incorrect initial values will trigger error conditions.

FIX:


Upgrade to OpenEdge 10.2B01 or later.

After upgrading, delete and recompile the existing r-code files to ensure no corrupt files remain in the environment.