Consultor Eletrônico



Kbase P126018: ADM2: Order of RUN AddLink statements may disable SmartToolBar buttons.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   05/03/2009
Status: Verified

SYMPTOM(s):

ADM2: Order of RUN AddLink statements may disable SmartToolBar buttons.

Selecting the 'Update record' button followed immediately by the 'Cancel' button renders all other SmartToolBar buttons disabled.

FACT(s) (Environment):

Windows
OpenEdge 10.1B

CAUSE:

Bug# OE00158721

FIX:

Upgrade to OpenEdge 10.1B03 or later. If upgrading to OpenEdge 10.1B03 or later is not feasible, then use one of the following two workarounds:
Workaround 1:
------------------
Rearrange the RUN AddLink statements in the adm-create-objects procedure using the Procedure Editor to add the 'Tableio' link after all the 'Data' have been added. The shortcoming of this workaround is: It is destroyed if the procedure is ever opened again in the AppBuilder. The benefit is: You do not need to remove anything when the fix is installed.
Workaround 2:
------------------
Another workaround is to override cancelRecord in the visual object to reset the toolbar actions when all states are ok again as follows:
run SUPER.
publish 'resetTableio' from target-procedure.
This workaround should ideally be removed when the fix is installed. It would not do any harm to do this after the fix is in place, but it will then be an unnecessary call.