minor
minor
Data about a person (unversioned) is stored in DOStorage. This data is not deleted even if the person is deleted.
The following errors may occur during migration:
If the IDMapper is used, objects from the source system are identified with objects from the target system using a business-related identifier (not a technical TLID); for a person, for example, this is done via the login. This process assumes that the data in the target system is the desired data; that is, changes in the source system are ignored.
Scenario
Suppose there is a person in both the target and source systems with the login "dau" who is deleted and then recreated in the source system. In the target system, the deletion and creation of the person “dau” are skipped; however, the entries in DOStorage are not skipped and are additionally mapped to the same technical ID. This results in clashes in the DOStorage table.
Solution
Also skip entries in DOStorage for skipped user creations.
Application
#!xml <transformer class="com.top_logic.knowledge.service.db2.migration.db.transformers.DOStorageRemovedValuesSkipper" types="DO_STORAGE" id-attribute="IDENTIFIER" />
See tl:com.top_logic.knowledge.service.db2.migration.db.transformers.DOStorageRemovedValuesSkipper
Test
- The scenario above should not cause any problems.