Projet

Général

Profil

Bug #50329

AttributeError: 'NoneType' object has no attribute 'get_geojson_url'

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

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

0%

Temps estimé:
Patch proposed:
Oui
Planning:
Non

Description

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

AttributeError: 'NoneType' object has no attribute 'get_geojson_url'
(20 additional frame(s) were not displayed)
...
  File "wcs/formdef.py", line 603, in add_fields_to_form
    widget = field.add_to_form(form, value)
  File "wcs/fields.py", line 541, in add_to_form
    form.add(self.widget_class, 'f%s' % self.id, title=self.label, hint=hint, **kwargs)
  File "wcs/qommon/form.py", line 342, in add
    QuixoteForm.add(self, widget_class, name, *args, **kwargs)
  File "quixote/form/form.py", line 235, in add
    widget = widget_class(name, *args, **kwargs)
  File "wcs/qommon/form.py", line 2492, in __init__
    self.geojson_markers_url = data_source.get_geojson_url()

Fichiers

Révisions associées

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

fields: fix map marker widget when no data_source set (#50329)

Historique

#1

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

  • Projet changé de Suivi des traces à w.c.s.
#2

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

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

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

#4

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

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

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

  • Statut changé de Solution validée à Résolu (à déployer)
commit ee5c8246e764d7016b45517bdcf6d3be5aa2ee64
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Fri Jan 22 11:48:26 2021 +0100

    fields: fix map marker widget when no data_source set (#50329)
#6

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

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

Formats disponibles : Atom PDF