Kbase P149288: getInstanceNames API returns object names instead of instance names when running from generated code
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  17/09/2009 |
|
Status: Unverified
SYMPTOM(s):
getInstanceNames API returns object names instead of instance names when running from generated code
Calling getInstanceNames from an object located within container returns the object names as defined for object masters, not the instance names as defined in the container
Container is running from 4GL Generated (PGEN) code
FACT(s) (Environment):
Running from repository does not show this behavior
OpenEdge 10.2A
All Supported Operating Systems
Dynamics
CHANGE:
Upgraded from OpenEdge 10.1Bx to OpenEdge 10.2A01
CAUSE:
Bug# OE00187820
CAUSE:
A change in the code generator causes the instance name for an object to be set after constructObject is called for that object, where it used to be set during the call to onstructObject.
The InstanceNames property for the container is only updated during the constructObject, so when running from generated code it ends up defaulting to the object name and is not reset to the proper instance name later on.
FIX:
Upgrade to 10.2A02 or later release