Consultor Eletrônico



Kbase P112074: UNDO variables inside class are not undone when UNDO is invoked outside of the class
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   26/01/2006
Status: Unverified

FACT(s) (Environment):

OpenEdge 10.1A

SYMPTOM(s):

Variables defined within class as UNDO variables

Class is instantiated via test program

Changes are made to the UNDO variables within the class

Test program invokes the UNDO command to undo changes to variables

Variables defined within the class are not affected by the UNDO command invoked in the test program

CAUSE:

It is normal that undo variables defined inside a class that are updated within a transaction outside of the class are undone and an UNDO is executed. This should not behave differently than standard 4GL.

FIX:

Ensure that variables inside class files which should not be undone when a transaction is rolled back with the UNDO command are defined as NO-UNDO variables.