Import to a 2-level containers tree does not work
Hi,
You'll find the mapping file attached.
The data file is really simple:
ID
I'll fill two bugs for that, but I keep it here in forum in case someone have similar problem.
Still working on importing data, and still having problems.
Here I'm trying to import a constant value to a metadata list inside a containers tree with this topology:
- [kindness_c]: container
- [subtree1]: container
- [kindness_level_meta2] => list [kindness_level]
=> The value is not imported
You'll find the mapping file attached.
The data file is really simple:
ID
50
Of course, "kind" entry exists in [kindness_level] list
=> the match is okay with one level of container less, or no level at all.
=> It seems to be the same problem when swiching from Constant to Mapping in the mapping file (and adding corresponding column to the data file).
=> in the case when [kindness_level_meta2] is required (checkbox checked in interface), an error message appears:
Could not import source ../../../import/problèmes/7/7.csv: (2017-01-19 22:58:35) [51] Could not add default label Value for kindness_level_meta2 [kindness_level_meta2] cannot be blank; (2017-01-19 22:58:35) [51] Invalid kindness_c; values were subtree1 = kindness_level_meta2 = 219; _related_related = ; _dontCreate = 1; _errorPolicy = stop; locale_id = 1: Value for kindness_level_meta2 [kindness_level_meta2] cannot be blank
Comments
http://clangers.collectiveaccess.org/jira/browse/PROV-1990
I got a lot of problems due to bundle specifier namespace while importing data. To avoid this kind of problems, this ticket seems very important in my opinion: