Bug #50918
family, fondettes loaders, AttributeError: 'NoneType' object has no attribute 'replace'
Statut:
Rejeté
Priorité:
Normal
Assigné à:
-
Version cible:
-
Début:
05 février 2021
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Non
Planning:
Non
Description
https://sentry.entrouvert.org/entrouvert/publik/issues/29026/
AttributeError: 'NoneType' object has no attribute 'replace' (11 additional frame(s) were not displayed) ... File "passerelle/forms.py", line 26, in save return super(GenericConnectorForm, self).save(commit=commit) File "django/forms/models.py", line 468, in save self.instance.save() File "contextlib.py", line 74, in inner return func(*args, **kwds) File "passerelle/apps/family/models.py", line 190, in save module.Loader(self).load(archive) File "passerelle/apps/family/loaders/concerto_fondettes.py", line 57, in load invoice['total_amount'] = row['MNT_FACTURE_FAC'].replace(',', '.')
Demandes liées
Historique
Mis à jour par Frédéric Péters il y a environ 3 ans
- Projet changé de Suivi des traces à Passerelle
- Sujet changé de AttributeError: 'NoneType' object has no attribute 'replace' à family, fondettes loaders, AttributeError: 'NoneType' object has no attribute 'replace'
Il me semblait l'avoir déjà vu celui-ci mais je ne trouve pas vite fait le ticket doublon.
Mis à jour par Frédéric Péters il y a environ 3 ans
- Lié à Bug #49682: KeyError: 'MNT_FACTURE_FAC' ajouté
Mis à jour par Frédéric Péters il y a environ 3 ans
Ah non pas exactement le même, juste très proche.
Mis à jour par Frédéric Péters il y a environ 3 ans
- Statut changé de Nouveau à Rejeté
Parce que changement de logiciel et format différent; j'ai créé #50926; je ferme celui-ci, et dans l'idée ce code sera supprimé d'ici quelques semaines.