Bug #10193
field.unhtmled_label ne doit pas retourner de l'unicode
Début:
04 mars 2016
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Description
Exception: type = '<type 'exceptions.UnicodeDecodeError'>', value = ''ascii' codec can't decode byte 0xc2 in position 24: ordinal not in range(128)' Stack trace (most recent call first): File "/home/fred/src/eo/wcs/wcs/admin/fields.py", line 116, in delete 114 r = TemplateIO(html=True) 115 import pdb; pdb.set_trace() > 116 r += htmltext('<h2>%s %s</h2>') % (_('Deleting Field:'), self.field.unhtmled_label) 117 r += form.render() 118 return r.getvalue()
Fichiers
Révisions associées
Historique
Mis à jour par Frédéric Péters il y a environ 8 ans
- Fichier 0001-fields-fix-unhtmled_label-to-return-a-byte-string-10.patch 0001-fields-fix-unhtmled_label-to-return-a-byte-string-10.patch ajouté
- Statut changé de Nouveau à En cours
- Patch proposed changé de Non à Oui
Mis à jour par Frédéric Péters il y a environ 8 ans
- Fichier 0001-fields-fix-unhtmled_label-to-return-a-byte-string-10.patch 0001-fields-fix-unhtmled_label-to-return-a-byte-string-10.patch ajouté
Avec une mise à jour du test pour prendre en compte ça.
Mis à jour par Frédéric Péters il y a environ 8 ans
- Fichier 0001-fields-fix-unhtmled_label-to-return-a-byte-string-10.patch 0001-fields-fix-unhtmled_label-to-return-a-byte-string-10.patch ajouté
(plutôt celui-ci)
Mis à jour par Frédéric Péters il y a environ 8 ans
- Statut changé de En cours à Résolu (à déployer)
commit 99d105df8cf692fd0e67ed311ca57b1a5f943016 Author: Frédéric Péters <fpeters@entrouvert.com> Date: Fri Mar 4 08:56:30 2016 +0100 fields: fix unhtmled_label to return a byte string (#10193)
fields: fix unhtmled_label to return a byte string (#10193)