Detail
Detail
Data for a person (unversioned) is stored in the DOStorage. These are also not deleted when the person is deleted.
The following errors can occur during migration:
If the IDMapper is used, objects from the source system are identified with objects from the target system via a functional TLID (not via technical TLID), e.g. in the case of a person via the login. It is assumed that the data in the target system is the desired data, i.e. changes in the source system are ignored.
Scenario
Assume that there is a person with login "dau" in the target and source system who is deleted and created again in the source system. In the target system the deletion and creation of the person "dau" is skipped, but the entries in the DOStorage are not skipped and additionally recoded to the same technical ID. This leads to clashes in the DOStorage table.
Solution
Entries in the DOStorage for skipped Person-Creations should also be skipped.
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
- Above scenario may not cause any problems.