Projet

Général

Profil

Bug #40706

KeyError: 'profildemandeur'

Ajouté par Sentry Io il y a environ 4 ans. Mis à jour il y a environ 4 ans.

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

0%

Temps estimé:
Patch proposed:
Oui
Planning:
Non

Description

https://sentry.entrouvert.org/entrouvert/publik/issues/876/

KeyError: 'profildemandeur'
  File "passerelle/utils/jsonresponse.py", line 128, in api
    resp = f(*args, **kwargs)
  File "passerelle/contrib/solis_apa/views.py", line 112, in post
    return {'data': self.get_object().import_flow(data)}
  File "passerelle/contrib/solis_apa/models.py", line 319, in import_flow
    data = {'ImportInputWSDemandeApa': integration.build_message(json_loads(data))}
  File "passerelle/contrib/solis_apa/integration.py", line 41, in build_message
    demandeur = get_demandeur(fields, wf)
  File "passerelle/contrib/solis_apa/integration.py", line 114, in get_demandeur
    demandeur_profil = fields['profildemandeur'] or ''

Error occurred while processing request

Fichiers

Révisions associées

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

solis_apa: profildemandeur field can be not found (#40706)

Historique

#1

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

  • Projet changé de Suivi des traces à Passerelle
#2

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

  • Assigné à mis à Lauréline Guérin
#3

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

#4

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

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

Ouaip

(en vrai je devrais regarder d'où vient la trace, c'est un bogue dans le formulaire/worfklow)

#5

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

  • Statut changé de Solution validée à Résolu (à déployer)
commit 7257974b81eabbaa0586a686916a5a3e75d5c165
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Tue Mar 17 15:10:59 2020 +0100

    solis_apa: profildemandeur field can be not found (#40706)
#6

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