Bug #1167
Bug sur r2205
Début:
22 décembre 2011
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Planning:
Description
Le patch r2205 n'est pas bon :
Stack trace (most recent call first): File "/usr/lib/pymodules/python2.5/wcs/workflows.py", line 850, in model_file_validation 848 if upload.base_filename and upload.base_filename.endswith('.rtf'): 849 return True, '' > 850 if upload.get_file().read(10).startswith('{\\rtf'): 851 return True, '' 852 return False, _('Only RTF files can be used') locals: self = <wcs.workflows.ExportToModel instance at 0x33e7518> upload = <Upload at 32f4128: modele.RTF>
Historique
Mis à jour par Thomas Noël il y a plus de 12 ans
Je crois que c'est juste upload.read(10).startswith qu'il faut faire... A tester.