Consultor Eletrônico



Kbase P150445: UPDATE option of the MESSAGE Statement changes logical value on AppServer
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   12/10/2009
Status: Unverified

SYMPTOM(s):

UPDATE option of the MESSAGE Statement changes logical value on AppServer

When executing the following code on the AppServer, the value of the defined variable is modified.

DEFINE VARIABLE lContinue AS LOGICAL NO-UNDO.

MESSAGE "Before question: ":U STRING(lContinue)
VIEW-AS ALERT-BOX INFORMATION.
MESSAGE "This will ...":U
VIEW-AS ALERT-BOX QUESTION BUTTONS YES-NO UPDATE lContinue.
MESSAGE "After question: ":U STRING(lContinue)
VIEW-AS ALERT-BOX INFORMATION.


When executing:

MESSAGE "This will ...":U
VIEW-AS ALERT-BOX QUESTION BUTTONS YES-NO UPDATE lContinue.

The message is not written into the AppServer log


The AppServer.server.log will contain the following:
AS -- (Procedure: 'testquestion.p' Line:3) Before question: no
AS -- (Procedure: 'testquestion.p' Line:7) After question: yes

FACT(s) (Environment):

The problem is not observed when running the code locally

Windows
OpenEdge 10.x

CAUSE:

Bug# OE00188747


FIX:

Remove the UPDATE option so that the code is not expecting any user input