Consultor Eletrônico



Kbase P83179: App uses PUBLISH/SUBSCRIBE to destroy a window and Progress terminates
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   2/3/2009
Status: Verified

SYMPTOM(s):

Application uses PUBLISH/SUBSCRIBE to handle the deletion of a window

The PUBLISH passed the handle of the window as one of its parameters

When windows are not closed in the reverse order of how they are created Progress terminates

FACT(s) (Environment):

Progress 9.1D
Windows
OpenEdge Category: Language (4GL/ABL)

CAUSE:

Bug# 20040607-045

CAUSE:

Bug# OE00105449

CAUSE:

When a handle is passed as a parameter in a PUBLISH the parameter is pushed onto the stack for the RUN for each subscriber the code that does the pushing of the parameters onto the stack has to resolve the handle and if the handle has been deleted (as in this case) the push onto the stack will silently fail.

FIX:

Upgrade to Progress 9.1E or later release
Upgrade to OpenEdge 10.1A or later release