Project

General

Profile

Bug #70510

restore_draft, chaîne vide trouvée pour un champ de type fichier (TypeError: __class__ assignment: 'PicklableUpload' object layout differs from 'SafeText')

Added by Sentry Io 3 months ago. Updated 3 months ago.

Status:
Nouveau
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
20 October 2022
Due date:
% Done:

0%

Estimated time:
Patch proposed:
No
Planning:
No

Description

https://sentry.entrouvert.org/entrouvert/gplexpert/issues/96111/

TypeError: __class__ assignment: 'PicklableUpload' object layout differs from 'SafeText'
(9 additional frame(s) were not displayed)
...
  File "wcs/forms/common.py", line 279, in _q_index
    return self.restore_draft()
  File "wcs/forms/common.py", line 365, in restore_draft
    magictoken = self.get_restore_draft_magictoken()
  File "wcs/forms/common.py", line 344, in get_restore_draft_magictoken
    tempfile = session.add_tempfile(form_data[field.id], storage=field.storage)
  File "wcs/qommon/sessions.py", line 267, in add_tempfile
    get_storage_object(upload.storage).save_tempfile(upload)
  File "wcs/qommon/upload_storage.py", line 135, in save_tempfile
    upload.__class__ = PicklableUpload

History

#1

Updated by Lauréline Guérin 3 months ago

  • Project changed from Suivi des traces to w.c.s.
  • Subject changed from TypeError: __class__ assignment: 'PicklableUpload' object layout differs from 'SafeText' to restore_draft, chaîne vide trouvé pour un champ de type fichier (TypeError: __class__ assignment: 'PicklableUpload' object layout differs from 'SafeText')
#3

Updated by Lauréline Guérin 3 months ago

  • Subject changed from restore_draft, chaîne vide trouvé pour un champ de type fichier (TypeError: __class__ assignment: 'PicklableUpload' object layout differs from 'SafeText') to restore_draft, chaîne vide trouvée pour un champ de type fichier (TypeError: __class__ assignment: 'PicklableUpload' object layout differs from 'SafeText')

Also available in: Atom PDF