Consultor Eletrônico



Kbase P137527: Error 12927 using public variable with a name matches a Temp-Table / ProDataSet
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   21/11/2008
Status: Unverified

SYMPTOM(s):

Error 12927 using public variable with a name matches a Temp-Table / ProDataSet

Could not locate element '<element_name>' in class '<class_name>'. (12927)

PUBLIC variable defined in a SUPER class

Child class inherits SUPER class

Child class defines temp-table and ProDataSet with same names as public variable

Child class is instantiated and attempts to set the public variable to the value of the Temp-Table / ProDataSet handle

myClass:ds = TEMP-TABLE ds:HANDLE.

Problem does not occur in OpenEdge 10.1A

FACT(s) (Environment):

OpenEdge 10.1B
OpenEdge 10.1C
All Supported Operating Systems

CHANGE:

Upgraded to OpenEdge 10.1B / 10.1C

CAUSE:

Bug# OE00177469

FIX:

Option #1
Give the public variable a different name to that of the temp-table / ProDataSet

Option #2
CAST the public variable to the SUPER class when assigning:

CAST(myClass, aClass):ds = TEMP-TABLE ds:HANDLE.