Actions
Anomalie #3618
closedImports: explicit error when CSV is not relevant
Start date:
09 June 2017
Due date:
% Done:
0%
Estimated time:
Élément(s):
Difficulté:
Description
On find import (Ishtar import) when no context record is recorded:
Cannot assign None: "BaseFind.context_record" does not allow null values.
Request Method: POST
Request URL: http://etiolles.ishtar-archeo.net/import-list/
Django Version: 1.4.22
Exception Type: ValueError
Exception Value:
Cannot assign None: "BaseFind.context_record" does not allow null values.
(...)
File "/srv/ishtaretiolles/ishtar/ishtar_common/data_importer.py" in get_field
1346. **v)
(...)
Exception Type: ValueError at /import-list/
Exception Value: Cannot assign None: "BaseFind.context_record" does not allow null values.
Updated by Étienne Loks over 7 years ago
- Description updated (diff)
Context please? I assume no context record was provided.
A warning instead of a crash is expected?
Updated by Yann Le Jeune over 7 years ago
- Status changed from Nouveau to En cours
Sorry, no Context Record was recorded.
Maybe the UI should provide some message for common users ?
Updated by Étienne Loks over 7 years ago
- Description updated (diff)
- Subject changed from Crash during FINDs Import to Imports: explicit error when CSV is not relevant
Actions