Projet

Général

Profil

Bug #39192

Toulouse Axel - correction endpoint de maj DUI

Ajouté par Lauréline Guérin il y a environ 4 ans. Mis à jour il y a environ 4 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Version cible:
-
Début:
23 janvier 2020
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:
Non

Description

Si dans le payload d'entrée, il manque la clé 'IDPERSONNE' pour un enfant, l'étape de preprocess échoue:

Error occurred while processing request
Traceback (most recent call last):
  File "/path/src/passerelle/passerelle/utils/jsonresponse.py", line 128, in api
    resp = f(*args, **kwargs)
  File "/path/src/passerelle/passerelle/views.py", line 411, in perform
    params = self.get_params(request, parameters=parameters, *args, **kwargs)
  File "/path/src/passerelle/passerelle/views.py", line 361, in get_params
    pre_process(self.endpoint.im_self, data)
  File "/path/src/passerelle/passerelle/contrib/toulouse_axel/models.py", line 576, in pre_sanitize_update_family_data
    if child['IDPERSONNE']:
KeyError: 'IDPERSONNE'


Fichiers

Révisions associées

Révision c23895a8 (diff)
Ajouté par Lauréline Guérin il y a environ 4 ans

toulouse_axel: fix pre process when IDPERSONNE key is missing (#39192)

Historique

#1

Mis à jour par Lauréline Guérin il y a environ 4 ans

  • Tracker changé de Development à Bug
#2

Mis à jour par Lauréline Guérin il y a environ 4 ans

#3

Mis à jour par Thomas Noël il y a environ 4 ans

  • Statut changé de Solution proposée à Solution validée
#4

Mis à jour par Lauréline Guérin il y a environ 4 ans

  • Statut changé de Solution validée à Résolu (à déployer)
commit c23895a898afcdfa87e7a8c67c3a8fe676b5e2b6
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Thu Jan 23 09:49:29 2020 +0100

    toulouse_axel: fix pre process when IDPERSONNE key is missing (#39192)
#5

Mis à jour par Frédéric Péters il y a environ 4 ans

  • Statut changé de Résolu (à déployer) à Solution déployée

Formats disponibles : Atom PDF