Projet

Général

Profil

Bug #7056

Export XLS avec des chaines de plus de 32767 caractères

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

Statut:
Fermé
Priorité:
Normal
Assigné à:
Version cible:
-
Début:
27 avril 2015
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:

Description

Exception:
  type = '<type 'exceptions.Exception'>', value = 'String longer than 32767 characters'

Stack trace (most recent call first):
  File "/usr/lib/python2.7/dist-packages/xlwt/UnicodeUtils.py", line 55, in upack2
    53     len_us = len(us)
    54     if len_us > 32767:
>   55         raise Exception('String longer than 32767 characters')
    56     try:
    57         encs = us.encode('latin1')

C'est nécessaire pour les formulaires de contact où les gens tapent des tartines.


Fichiers

Révisions associées

Révision 88b2e0db (diff)
Ajouté par Frédéric Péters il y a environ 9 ans

backoffice: limit xls cell content to 32767 characters (#7056)

Total number of characters that a cell can contain: 32,767 characters

source: https://support.office.com/en-nz/article/Excel-specifications-and-limits-16c69c74-3d6a-4aaf-ba35-e6eb276e8eaa

Révision 9b4e963c (diff)
Ajouté par Frédéric Péters il y a environ 9 ans

backoffice: limit xls cell content to 32767 characters (#7056)

Total number of characters that a cell can contain: 32,767 characters

source: https://support.office.com/en-nz/article/Excel-specifications-and-limits-16c69c74-3d6a-4aaf-ba35-e6eb276e8eaa

Historique

#1

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

#2

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

(à tester pour de vrai sur la prod de Vincennes, sur le formulaire contact)

#3

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

Il semblerait que ce formulaire ait été supprimé.

#4

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

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

C'était Échirolles, en fait.

commit af4b73b3ad5eed5558dd652749fcff10752da4a9
Author: Frédéric Péters <fpeters@entrouvert.com>
Date:   Mon Apr 27 19:22:35 2015 +0200

    backoffice: don't fail on None value in ods export (#7057)
#5

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

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

Formats disponibles : Atom PDF