Consultor Eletrônico



Kbase P119428: Custom properties for ADM2 data class are ignored
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   1/25/2007
Status: Unverified

FACT(s) (Environment):

OpenEdge 10.1A

SYMPTOM(s):

ADM2

Customized data class

Added custom properties by using datapropcustom.i and datadefscustom.i include files

Custom properties are not available when running the code

CHANGE:

Upgraded existing code to 10.1A

CAUSE:

Bug# 20061010-050

FIX:

Upgrade to OpenEdge 10.1B or later

Workaround:

Manually modify dataprop.i.

Change the section:

&IF "{&xcInstanceProperties}":U NE "":U &THEN
&GLOB xcInstanceProperties {&xcInstanceProperties},
&ENDIF

&GLOB xcInstanceProperties ~
AppService,ASUsePrompt,ASInfo,ForeignFields,RowsToBatch,CheckCurrentChanged,~
RebuildOnRepos,ServerOperatingMode,DestroyStateless,DisconnectAppServer,~
ObjectName,UpdateFromSource,ToggleDataTargets,OpenOnInit,PromptOnDelete,~
PromptColumns,CacheDuration,ShareData

to

&IF "{&xcInstanceProperties}":U NE "":U &THEN
&GLOB xcInstanceProperties {&xcInstanceProperties},
&ENDIF

&GLOB xcInstanceProperties {&xcInstanceProperties}~
AppService,ASUsePrompt,ASInfo,ForeignFields,RowsToBatch,CheckCurrentChanged,~
RebuildOnRepos,ServerOperatingMode,DestroyStateless,DisconnectAppServer,~
ObjectName,UpdateFromSource,ToggleDataTargets,OpenOnInit,PromptOnDelete,~
PromptColumns,CacheDuration,ShareData