Projet

Général

Profil

Bug #32188

Planitec : erreur quand custom_fields n'est pas renseigné

Ajouté par Emmanuel Cazenave il y a environ 5 ans. Mis à jour il y a presque 5 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Version cible:
-
Début:
11 avril 2019
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:
Non

Description

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/passerelle/base/management/commands/cron.py", line 48, in handle
    getattr(connector, frequency)()
  File "/usr/lib/python2.7/dist-packages/passerelle/contrib/planitech/models.py", line 383, in hourly
    self._get_places_referential(refresh_cache=True)
  File "/usr/lib/python2.7/dist-packages/passerelle/contrib/planitech/models.py", line 252, in _get_places_referential
    for custom_field in self.custom_fields:
TypeError: 'NoneType' object is not iterable

Fichiers

Révisions associées

Révision d7abdba2 (diff)
Ajouté par Emmanuel Cazenave il y a presque 5 ans

planitec: make custom fields optionnals (#32188)

Historique

#2

Mis à jour par Emmanuel Cazenave il y a presque 5 ans

#3

Mis à jour par Serghei Mihai il y a presque 5 ans

  • Statut changé de Solution proposée à Solution validée
  • Assigné à mis à Emmanuel Cazenave

"make custom fields optional".

A pousser après la mise à jour.

#4

Mis à jour par Emmanuel Cazenave il y a presque 5 ans

  • Statut changé de Solution validée à Résolu (à déployer)
commit d7abdba26163282fcb5fa89f2b3aa3174f83b097
Author: Emmanuel Cazenave <ecazenave@entrouvert.com>
Date:   Tue May 21 12:01:13 2019 +0200

    planitec: make custom fields optionnals (#32188)
#5

Mis à jour par Frédéric Péters il y a presque 5 ans

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

Formats disponibles : Atom PDF