Consultor Eletrônico



Kbase P162140: OpenEdge Architect: Outline view fails to display internal procedures under certain circumstances
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   06/04/2010
Status: Unverified

SYMPTOM(s):

OpenEdge Architect: Outline view fails to display internal procedures under certain circumstances

Outline view fails to show internal procedures.

The internal procedures of the main procedure are bot visible when an include file function is edited in a certain way.

Inserting an unreachable "end function." into the forward definition of the function, the parser works.

The contents of the main ABL procedure custom.p:
{custom.i &WHERE="In Super"}
PROCEDURE foo:
END PROCEDURE.
PROCEDURE zoo:
END PROCEDURE.

The internal procedures foo and zoo become invisible if the ABL include file custom.i is changed from:
&IF DEFINED(svcFooterCalcFuncs) = 0 &THEN
&GLOBAL-DEFINE svcFooterCalcFuncs
FUNCTION getFooterCalcHdl RETURNS HANDLE
() {&WHERE}.
&IF DEFINED(svcFooterCalcFuncs) = 0 &THEN
END FUNCTION.
&endif
&ENDIF
To:
&IF DEFINED(svcFooterCalcFuncs) = 0 &THEN
&GLOBAL-DEFINE svcFooterCalcFuncs
FUNCTION getFooterCalcHdl RETURNS HANDLE
() {&WHERE}.
&ENDIF

FACT(s) (Environment):

Windows
OpenEdge Category: Architect (OEIDE)
OpenEdge Architect Category: Editor
OpenEdge 10.1C04

CAUSE:

Bug# OE00196733

FIX:

Upgrade to OpenEdge 10.2A or higher.