Projet

Général

Profil

Bug #10193

field.unhtmled_label ne doit pas retourner de l'unicode

Ajouté par Frédéric Péters il y a environ 8 ans. Mis à jour il y a environ 8 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Version cible:
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

Révision 99d105df (diff)
Ajouté par Frédéric Péters il y a environ 8 ans

fields: fix unhtmled_label to return a byte string (#10193)

Historique

#1

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

#4

Mis à jour par Thomas Noël il y a environ 8 ans

Ack

#5

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)
#6

Mis à jour par Thomas Noël il y a environ 8 ans

  • Version cible mis à v1.36
#7

Mis à jour par Thomas Noël il y a environ 8 ans

  • Statut changé de Résolu (à déployer) à Fermé

Formats disponibles : Atom PDF