Consultor Eletrônico



Kbase P120295: SmartDataViewer migrated from Progress 9.0x does not work on OpenEdge 10.1A
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   08/04/2008
Status: Unverified

FACT(s) (Environment):

OpenEdge 10.x

SYMPTOM(s):

SmartDataViewer migrated from Progress 9.0x does not work on OpenEdge 10.1x

SmartDataViewer does not display data after migration

SmartDataViewer migrated from Progress version 9 to OpenEdge 10 results in error 3135 and 3140.

Invalid Widget-handle. Not initialized or points to a deleted widget. (3135)

With the stack trace:

E:\Progress\101A\customers\OBV\p03070_wwin.ab (E:\Progress\101A\customers\OBV\p03070_wwin.ab) at line 4917
initializeObject adm2/containr.p (D:\Progress\101A\gui\adm2\containr.r) at line 10345
initializeObject adm2/viewer.p (D:\Progress\101A\gui\adm2\viewer.r) at line 7253
dataAvailable adm2/datavis.p (D:\Progress\101A\gui\adm2\datavis.r) at line 4510
displayRecord adm2/datavis.p (D:\Progress\101A\gui\adm2\datavis.r) at line 5019
displayFields adm2/viewer.p (D:\Progress\101A\gui\adm2\viewer.r) at line 5630
--> displayFieldList adm2/viewer.p (D:\Progress\101A\gui\adm2\viewer.r) at line 5149

Cannot access the TYPE attribute because the widget does not exist. (3140)

CAUSE:

ADM-CONTAINER FRAME preprocessor is missing in the code

FIX:

This is a known issue being investigated.

There are 3 propised workaround:
1. The missing preprocessor can be added to the SmartDataViewer inside the _UIB_PREPROCESSOR_BLOCK section.

2. Existing viewers can be fixed by opening the Procedure Setting ->Advanced dialog and check the Allow Smart objects. The missingpreporcessor will then be added upon save.

3. Add a global preprocessor in a localized src/adm2/viewerdefscustom.i as follows:

&IF DEFINED(ADM-CONTAINER) = 0 &THEN
&GLOB ADM-CONTAINER FRAME
&ENDIF