We can encounter failures while importing content/data in Asta7 for several reasons. So far our approach for handling failures has been to throw an exception and abort the import. But this approach is not user-friendly as most of the failures are recoverable.
We want a tool to handle imports better to ease the mobility of archives between different Asta7 installations and within the same Asta7. The tool should be based on current functionality in Asta5 and adapted to the challenges we have in Asta7.
This tool will be used only for the Single Archive and Excel import from Asta7
Failures and Possible Solutions
Normal Entities
Failure | Solutions | Challenges |
---|---|---|
AMID conflict |
|
|
PK conflict (Single PK only for now) |
|
|
Unique conflict |
| |
FK conflict |
| |
NULL conflict |
| |
Wrong type |
| |
Wrong length |
| |
FVP Unique conflict (Root entities only for now) |
|
System Entities
As we are only exporting the participant module and tag module for now we can ignore the other system templates for now. We need to consider the AKTOR
and TAG
entities
for this section and ignore AMID/PK
conflicts for all sub-entities. For the AKTOR
and TAG
entities, we should add some additional options for handling AMID/PK/Unique/FVP Unique conflicts.
Failure | Solutions | Challenges |
---|---|---|
AMID/PK/Unique/FVP Unique conflict |
|
|