Consultor Eletrônico



Kbase P89707: This name is reserved error with destroyObject.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   7/29/2004
Status: Unverified

FACT(s) (Environment):

OpenEdge 10.x

SYMPTOM(s):

This name is reserved error with destroyObject.

destroyObject

This name is reserved, or already defined in an include Method Library.

Trying to override destroyObject in the section Editor in OpenEdge will result in errors.

destroyObject cannot be overridden in smartDataObjects.

CAUSE:

This is a known issue being investigated by Development

FIX:

In the procedure editor open the smartDataObject, then in the internal procedures section add:

{&DB-REQUIRED-START}

&ANALYZE-SUSPEND _UIB-CODE-BLOCK _PROCEDURE destroyObject dTables _DB-REQUIRED
PROCEDURE destroyObject :
/*------------------------------------------------------------------------------
Purpose: Super Override
Parameters:
Notes:
------------------------------------------------------------------------------*/

/* Code placed here will execute PRIOR to standard behavior. */

RUN SUPER.

/* Code placed here will execute AFTER standard behavior. */

END PROCEDURE.

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

{&DB-REQUIRED-END}