Bug #39550
api_entreprise: revoir la manière de normaliser les dates
Statut:
Rejeté
Priorité:
Normal
Assigné à:
-
Version cible:
-
Début:
05 février 2020
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Non
Planning:
Non
Description
Erreur:
Exception Type: TypeError Exception Value: string indices must be integers /usr/lib/python2.7/dist-packages/passerelle/apps/api_entreprise/models.py in normalize_dates 43. if isinstance(data[key], dict): Local Vars Variable Value data u'MARSEILLE 9' key u'M' timestamp_to_datetime {}
pour la réponse:
{u'adresse_siege': {u'code_insee': [u'13209', u'13209'], u'code_postal': [u'13009', u'13009'], u'commune': [u'MARSEILLE 9', u'MARSEILLE 9'], u'complement': u'ASSOCIATION BOULISTE SOUS LE NOYER LE PETIT TRIOULET TRIOULET', u'distribution': None, u'libelle_voie': [u'AVIATEUR LE BRIX', u'AVIATEUR LE BRIX'], u'numero_voie': [u'38', u'38'], u'type_voie': [u'RUE', u'RUE']}, u'civilite_dirigeant': None, u'code_civilite_dirigeant': None, u'code_etat': None, u'code_groupement': None, u'date_creation': None, u'date_declaration': None, u'date_dissolution': None, u'date_publication': None, u'etat': u'true', u'groupement': None, u'id': None, u'mise_a_jour': None, u'objet': None, u'siret': u'84018852800011', u'siret_siege_social': u'84018852800011', u'titre': u'ASSOCIATION BOULISTE SOUS LE NOYER'}
Demandes liées
Historique
Mis à jour par Serghei Mihai (congés, retour 15/05) il y a environ 4 ans
- Lié à Bug #39541: api entreprise, normalisation de date vs listes ajouté