Consultor Eletrônico



Kbase P63468: Field labels lost after migration to dynamics 2.1A
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/15/2008
Status: Unverified

FACT(s) (Environment):

Dynamics 2.1A

SYMPTOM(s):

Field labels and formats lost after migration to dynamics 2.1A

Migrated repository and application from Dynamics 2.0A0202 to Dynamics 2.1A01.

Migrated with the following steps:

1) Install dynamics 2.1A and patch 2.1A01.
2) Run the remove_orphans.p procedure against the repository to be upgraded from within a 2.0A0202 development session.
3) Run the DCU to apply patches to the repository.
4) Start a 2.1A development session which automatically runs the DCU to load ados and run upgrade routines.
5) Shut down that development session and start a new session.
6) Re-run the entity import for all of the tables in my application database.
7) Compile all application source code.
8) Run the addlabelstaticsdo.p and migrateentityfieldstodatafields.p procedures against the upgraded repository.

After the migration viewer and browser datafields and formats have been lost at runtime. The labels do not display in the dynamic viewers and dynamic browsers. Although opening the master objects in design mode shows the correct labels.

CAUSE:

Client cache files had been generated for the migrated repository. These were being run by Dynamics which suggested that the datafield labels were missing, although the repository looked correct.

The fact that these client cache files are there in the first place is because the auto_dump_entity_cache parameter defaults to YES if it is not specified for the session. An issue has been logged to change this behavior.

FIX:

Delete the client cache files from the apprpriate directory. For Dynamics v2.x this is <Dynamics install>/src/icf/ry/clc, for OpenEdge this is <Dynamics install>/src/dynamics/ry/clc. Set the session property auto_dump_entity_cache to NO.