Kbase P102027: Internal procedure which returns buffer handle from temp-table in ProDataSet sometimes fails
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  11/03/2005 |
|
Status: Unverified
FACT(s) (Environment):
OpenEdge 10.x
SYMPTOM(s):
Internal procedure in super procedure is used to return a buffer handle for a temp-table within a ProDataSet based on its name
Internal procedure is called from many different windows
In only one window the internal procedure fails to return the buffer handle even though a temp-table with the correct name exists within the ProDataSet
CAUSE:
The internal procedure called another internal procedure passing the temp-table name as an INPUT-OUTPUT parameter along with the PROGRAM-NAME(2) function to point to a given procedure within the call stack that would be used as the source of the ProDataSet. The procedure that PROGRAM-NAME(2) ended up pointing to was the incorrect procedure with the end result that the temp-table name was overwritten with garbage data.
FIX:
Modify the application source code to ensure that the internal procedure which uses PROGRAM-NAME(2) determines the correct procedure within the call stack to use