Bug #7056
Export XLS avec des chaines de plus de 32767 caractères
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
backoffice: limit xls cell content to 32767 characters (#7056)
Total number of characters that a cell can contain: 32,767 characters
Historique
Mis à jour par Frédéric Péters il y a environ 9 ans
- Fichier 0001-backoffice-limit-xls-cell-content-to-32767-character.patch 0001-backoffice-limit-xls-cell-content-to-32767-character.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 9 ans
(à tester pour de vrai sur la prod de Vincennes, sur le formulaire contact)
Mis à jour par Frédéric Péters il y a environ 9 ans
Il semblerait que ce formulaire ait été supprimé.
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)
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