Daniel-KM / Omeka-plugin-CsvImportPlus

This fork of the plugin for Omeka allows users to import metadata of items from a simple CSV file. Improvements are: choice of separators, import of metadata of files and collections, update of any record, import of files one by one to avoid to overload the server.
http://omeka.org/codex/Plugins/CsvImport
22 stars 17 forks source link

Test file "test_extra_data.csv" doesn't work (partial import) #11

Open pprw opened 6 years ago

pprw commented 6 years ago

I tried to import the file test_extra_data.csv.

I followed the recommendations:

To try this test file, install Geolocation first. Set tabulation as column delimiter, no enclosure, and | as element, file and tag delimiters. You should set the required identifier to "Dublin Core : Identifier", the option "Contains extra data" to "Yes" too (or "Perhaps" to check manually). Use the update below to get full data for all items.

The last row of this file shows an example to import one item with attached files on one row (unused columns, specially Identifier and Record Type, can be removed). This simpler format can be used if you don't need files metadata or if you don't have a lot of files attached to each item.

Note: I don't have the choice to bind identifier to "Dublin Core : Identifier" (I only have "Dublin Core : Title". I choose "No default identifier" and "perhaps" for the extra data option.

capture du 2018-04-13 12-18-27

In the next screen, I bind "Dublin Core : Identifier" to "Dublin Core : Identifier" and also "identifier" as special value (see screenshot)

image

I also tick "extra data" for the geolocation data:

image

Results of importation:

image

First problem: I have only 3 records imported (which correspond to lines 3, 6 and 8). All metadata for this items are not imported. For example, for the line 6 (tower bridge under construction) I only have the picture, no title, no data:

image

I also tested the file "test_extra_data_update.csv" with as result two skipped records (so no change in items).

pprw commented 6 years ago

I figured out why I didn't have "Dublin Core : Identifier" choice (first screenshot). It was hidden by the hide elements plugins. But even when bind to this field, I still have the same issue (partial and incomplete import).

Daniel-KM commented 6 years ago

Sorry, I can't check your issue before end of April.