excluding &IF DEFINED(EXCLUDE... ?

Posted by AdrianJones on 07-Oct-2016 03:34

Hi all,

10.2b on windows.

if I use the appbuilder to generate a function i get the normal &ANALYZE-SUSPEND... wrapper around it.

&ANALYZE-SUSPEND _UIB-CODE-BLOCK _FUNCTION-FORWARD aaa C-Win _DB-REQUIRED

FUNCTION aaa RETURNS LOGICAL
( /* parameter-definitions */ ) FORWARD.

/* _UIB-CODE-BLOCK-END */
&ANALYZE-RESUME

If I then use the Eclipse/Openedge architect to add another function i get an extra &IF DEFINED... wrapper

&IF DEFINED(EXCLUDE-bbb) = 0 &THEN

&ANALYZE-SUSPEND _UIB-CODE-BLOCK _FUNCTION-FORWARD bbb Procedure
FUNCTION bbb RETURNS CHARACTER
( ) FORWARD.

/* _UIB-CODE-BLOCK-END */
&ANALYZE-RESUME

&ENDIF

Is there anyway to control this EXCLUDE insertion? switch it off? Is it needed?

if we have different devs using different editors it can quickly insert many changes producing inconsistent code with inadvertent diffs etc.

cheers.

AKJ

All Replies

Posted by Anil Kumar on 07-Oct-2016 11:28

Hi Adrian,
 
Conditional statements should not be added for the visual components. This is a bug in OpenEdge Architect 10.2B version.
 
This issue got addressed in later version of PDS OE (also known as OpenEdge Architect) 11.3. Reference bug ID: PSC00257349.
 
Thanks and Regards,
Anil Kumar.
 

Posted by AdrianJones on 11-Oct-2016 03:12

ok thanks Anil. another reason for us to upgrade. ;-)

any where i can view details on that bug? KB? my google fu is failing me.

Posted by Anil Kumar on 31-Oct-2016 20:09

Hi Adrian,

Sorry for the late reply.

I am not sure if this information is available in any of the KB article(s). Please contact Technical Support to get more details on this defect.

Thanks and Regards,

Anil Kumar.

This thread is closed