Project

General

Profile

Development #35405

dataviz, attendre qu'une source de données soit sélectionnée avant d'afficher une miniature du graphe

Added by Frédéric Péters 8 days ago. Updated 7 days ago.

Status:
Solution déployée
Priority:
Normal
Target version:
-
Start date:
14 Aug 2019
Due date:
% Done:

0%

Patch proposed:
Yes
Planning:
No

Description

Internal Server Error: /api/dataviz/graph/2/

KeyError at /api/dataviz/graph/2/
'data-url'
...
File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py" in _get_response
  185.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)

File "/usr/lib/python2.7/dist-packages/combo/apps/dataviz/views.py" in dataviz_graph
  38.             height=int(request.GET.get('height', 0)) or int(cell.height)

File "/usr/lib/python2.7/dist-packages/combo/apps/dataviz/models.py" in get_chart
  166.                 self.cached_json['data-url'],

0001-dataviz-don-t-display-unconfigured-graphs-35405.patch View (1.58 KB) Frédéric Péters, 14 Aug 2019 03:28 PM

Associated revisions

Revision 73a76437 (diff)
Added by Frédéric Péters 8 days ago

dataviz: don't display unconfigured graphs (#35405)

History

#1 Updated by Frédéric Péters 8 days ago

#2 Updated by Thomas Noël 8 days ago

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

#3 Updated by Frédéric Péters 8 days ago

  • Status changed from Solution validée to Résolu (à déployer)
commit 73a76437887bad1be68018b98ab848ff466b28b8
Author: Frédéric Péters <fpeters@entrouvert.com>
Date:   Wed Aug 14 15:25:07 2019 +0200

    dataviz: don't display unconfigured graphs (#35405)

#4 Updated by Frédéric Péters 7 days ago

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

Also available in: Atom PDF