Consultor Eletrônico



Kbase P14523: Incorrect value displayed in an updated field using cancel after preTransactionValidate error
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   16/10/2008
Status: Unverified

FACT(s) (Environment):

Progress 9.1B

SYMPTOM(s):

Incorrect value displayed in an updated field using cancel after preTransactionValidate error

Using patch 9.1B27

This bug does not happened on 9.1B without patch

FIX:

Make a local copy of the %DLC%\src\adm2\custom\dataviscustom.i and %DLC%\src\adm2\custom\dataviscustom.p of ADM2.

On the local copy of the dataviscustom.i remove the comments of the call to dataviscustom.p on the main block.

On the local copy of the dataviscustom.p create a internal procedure called “cancelRecord” that contains the same code of the datavis.p and ADM2 procedures.
The only difference between the original ADM2 procedure and the new local copy is that, in the local one, you have to comment the IF statement that verifies if the register is being cancelled or not (IF cNew <> 'NO':U THEN DO...) since it has been added incorrectly on the ADM2.
Keep in mind that with this changes you will have two &#8220;cancelRecord&#8221; procedures that contain logic to do pretty much the same job. Therefore, it is not necessary to add the RUN SUPER command on the customized version of the procedure dataviscustom.p