Consultor Eletrônico



Kbase P129461: ADM-ERROR message appears after upgrading ADM2 application
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   15/03/2008
Status: Unverified

FACT(s) (Environment):

Windows 32 Intel
OpenEdge 10.1x

SYMPTOM(s):

ADM-ERROR message appears after upgrading ADM2 application

CAUSE:

When attempting to delete a record and the user chooses "No" to the confirmation question, this is communicated by returning the value "ADM-ERROR". This RETURN-VALUE never gets reset after the action is complete and is picked up on subsequent actions.
This behavior was true in previous releases of the ADM2 but there were early routines run that would reset the RETURN-VALUE before entering any transactional code by executing the RETURN statement with no value.
Because of some changes in the code this is not caught as early in all cases and can result in cancelled actions and the display of a message with the value "ADM-ERROR".

FIX:

To workaround the issue you could override deleteRecord in the visual object and simply return blank.