Project

General

Profile

Bug #50329

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

Added by sentry io about 1 month ago. Updated about 1 month ago.

Status:
Solution déployée
Priority:
Normal
Target version:
-
Start date:
19 Jan 2021
Due date:
% Done:

0%

Estimated time:
Patch proposed:
Yes
Planning:
No

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()

Files

Associated revisions

Revision ee5c8246 (diff)
Added by Lauréline Guérin about 1 month ago

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

History

#1

Updated by Frédéric Péters about 1 month ago

  • Project changed from Suivi des traces to w.c.s.
#2

Updated by Lauréline Guerin about 1 month ago

  • Assignee set to Lauréline Guerin
#3

Updated by Lauréline Guerin about 1 month ago

#4

Updated by Frédéric Péters about 1 month ago

  • Status changed from Solution proposée to Solution validée
#5

Updated by Lauréline Guerin about 1 month ago

  • Status changed from Solution validée to 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

Updated by Frédéric Péters about 1 month ago

  • Status changed from Résolu (à déployer) to Solution déployée

Also available in: Atom PDF