Actions
Anomalie #3618
ferméImports: explicit error when CSV is not relevant
Début:
09 juin 2017
Echéance:
% réalisé:
0%
Temps estimé:
É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.
Actions
#1
Mis à jour par Étienne Loks il y a plus de 7 ans
- Description mis à jour (diff)
Context please? I assume no context record was provided.
A warning instead of a crash is expected?
Actions
#2
Mis à jour par Yann Le Jeune il y a plus de 7 ans
- Statut changé de Nouveau à En cours
Sorry, no Context Record was recorded.
Maybe the UI should provide some message for common users ?
Actions
#3
Mis à jour par Étienne Loks il y a plus de 7 ans
- Description mis à jour (diff)
- Sujet changé de Crash during FINDs Import à Imports: explicit error when CSV is not relevant
Actions