Development #38847
dataviz: crash sur un tableau de pourcentage avec des valeurs nulles
Début:
08 janvier 2020
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
Là où bijoe affiche N/A et envoie des None dans l'attribut 'data' du JSON représentant la visu, combo dit :
File "/home/vdeniaud/src/combo/combo/apps/dataviz/models.py", line 302, in <lambda> percent_formatter = lambda x: '{:.1f}%'.format(x) TypeError: unsupported format string passed to NoneType.__format__
Fichiers
Historique
Mis à jour par Valentin Deniaud il y a environ 4 ans
- Fichier 0001-dataviz-handle-empty-percentage-value-38847.patch 0001-dataviz-handle-empty-percentage-value-38847.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
Mis à jour par Thomas Noël il y a environ 4 ans
- Statut changé de Solution proposée à Solution validée
Mis à jour par Valentin Deniaud il y a environ 4 ans
- Statut changé de Solution validée à Rejeté
Au profit d'une correction côté bijoe, #38913.