Skip to content

Fix model version manager usage when importing an export.

Bastien Abadie requested to merge fix-import into master

With this import I'm able to import the Hennessy sqlite export (see redmine issue & arkindex project )

A model version was not created, breaking worker run creation, breaking 1 element creation, breaking ALL element paths creation.

Creating corpus Hennessy
Importing element types
Ran on 4 rows: 4 created, 0 errors in 0:00:00.023286
Importing classes
Ran on 4 rows: 4 created, 0 errors in 0:00:00.015391
Importing repositories
Ran on 7 rows: 0 created, 0 errors in 0:00:00.004759
Importing revisions
Ran on 7 rows: 0 created, 0 errors in 0:00:00.007007
Importing worker types
Ran on 7 rows: 0 created, 0 errors in 0:00:00.004721
Importing workers
Ran on 7 rows: 0 created, 0 errors in 0:00:00.005493
Importing worker versions
Ran on 7 rows: 0 created, 0 errors in 0:00:00.006883
Importing worker runs
Ran on 14 rows: 0 created, 0 errors in 0:00:00.051861
Importing image servers
Ran on 1 rows: 0 created, 0 errors in 0:00:00.001525
Creating images
Ran on 1008 rows: 1008 completed, 0 failed in 0:00:00.156445
Creating elements
Ran on 2736 rows: 2736 completed, 0 failed in 0:00:01.207900
Creating element paths
Ran on 3390 rows: 3390 completed, 0 failed in 0:00:01.838805
Creating element paths
Ran on 7 rows: 7 completed, 0 failed in 0:00:00.013688
Creating entity types
Ran on 0 rows: 0 completed, 0 failed in 0:00:00.000080
Creating entities
Ran on 0 rows: 0 completed, 0 failed in 0:00:00.000070
Creating entity roles
Ran on 0 rows: 0 completed, 0 failed in 0:00:00.000059
Creating entity links
Ran on 0 rows: 0 completed, 0 failed in 0:00:00.000047
Creating transcriptions
Ran on 1577 rows: 1577 completed, 0 failed in 0:00:00.549890
Creating transcription entitys
Ran on 0 rows: 0 completed, 0 failed in 0:00:00.000144
Creating meta datas
Ran on 0 rows: 0 completed, 0 failed in 0:00:00.000068
Creating classifications
Ran on 1733 rows: 1733 completed, 0 failed in 0:00:01.802353
Created corpus Hennessy in 0:00:06.557769

To repro, try to load the latest export from this corpus. Only 5Mb.

Merge request reports

Loading