Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Failures and Possible Solutions

Normal Entities

AMID conflictPK conflict (

FailureConflict

Solutions

Challenges

Solutions(NO)

AMID

  • An object with this AMID already exists

Genarate

  • Replace all objectReference

  • Erstatt alle objektreferanser

PK

  • An object with this primary key already exists

  • Single PK only for now

)

Genarate if UUID

  • Replace all FK

  • How to handle composite PK?

  • Should we generate other types? If so then how?

  • Erstatt alle fremmednøkler

Input from the user

  • Requires user interaction

Unique conflict

  • An object with this value for this field already exists

Genarate if UUID

  • Should we generate other types? If so then how?

Input from the user

  • Requires user interaction

Set null if nullable

FVP Unique conflict (

  • An object with this value for this field already exists

  • Root entities only for now

)

Genarate

Input from the user

  • Requires user interaction

Set null if nullable

FK conflict (

  • The parent object not found

  • Not yet supported

)

Set null if nullable

NULL conflictRequired

  • No value present for this required field

Genarate

  • Generate dummy values if not UUID or FVP

Input from the user

  • Requires user interaction

Wrong Type

  • Value type not compatible with the field type

Genarate

  • Generate dummy values if not UUID or FVP

Input from the user

  • Requires user interaction

Set null if nullable

Wrong Length

  • Text length is longer than the limit

Trim extra

Input from the user

  • Requires user interaction

Set null if nullable

...

REQUIREDTYPELENGTH

Conflict Type

Default Solutions (Used while importing)

Description

AMID

Generate

  • Generate a new UUID

Fail (Throw exception)

  • Throw error and abort

PK

Generate (

  • Generate a new UUID

  • Available if all are UUID

)

Fail (Throw exception)

UNIQUE

Generate (

  • Throw error and abort

Unique

Generate

  • Generate a new UUID

  • Available if all are UUID

)

Fail (Throw exception)

FVP_UNIQUE

Generate

Fail (Throw exception)

  • Throw error and abort

FVP Unique

Generate

  • Generate a new FVP

Fail

  • Throw error and abort

FK (Not supported yet)

Set Null

  • Set null if nullable

Fail (Throw exception)

  • Throw error and abort

Required

Generate

  • Generate a dummy value

Fail (Throw exception)

  • Throw error and abort

Wrong Type

Set Null or Generate

  • Set null if nullable or

Generate
  • generate a dummy value

Fail (Throw exception)

  • Throw error and abort

Wrong Length

Trim Extra

  • Trim the extra part

Fail (Throw exception)

SYSTEM ENTITY

Generate (Generate

  • Throw error and abort

System Entity

Generate

  • Generate a new UUID or FVP

)

Ignore

  • Ignore this row and it’s subtree

Replace with the conflicted rowFail (Throw exception)

  • Ignore this row and it’s subtree (Without the relation objects)

  • Import relation objectss but change the relation to connect to the conflicted row

Fail

  • Throw error and abort

If all the types are set to resolve at import time then the Resolve and Import button will be shown. In this case, the 3rd step is not needed anymore. Otherwise, you can proceed to the 3rd step by clicking the Gather Conflicts button.

...