Project

General

Profile

Bug #69435

restore_draft & session.add_tempfile d'une donnée qui n'est pas un fichier (AttributeError: 'str' object has no attribute 'time')

Added by Sentry Io 7 days ago. Updated 7 days ago.

Status:
Nouveau
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
22 September 2022
Due date:
% Done:

0%

Estimated time:
Patch proposed:
No
Planning:
No

Description

https://sentry.entrouvert.org/entrouvert/publik/issues/94182/

AttributeError: 'str' object has no attribute 'time'
(7 additional frame(s) were not displayed)
...
  File "wcs/forms/common.py", line 917, in _q_traverse
    return super()._q_traverse(path)
  File "quixote/directory.py", line 92, in _q_traverse
    return obj()
  File "wcs/forms/common.py", line 279, in _q_index
    return self.restore_draft()
  File "wcs/forms/common.py", line 344, in restore_draft
    tempfile = session.add_tempfile(form_data[field.id], storage=field.storage)
  File "wcs/qommon/sessions.py", line 264, in add_tempfile
    upload.time = time.time()

History

#1

Updated by Lauréline Guérin 7 days ago

  • Project changed from Suivi des traces to w.c.s.
  • Subject changed from AttributeError: 'str' object has no attribute 'time' to restore_draft & session.add_tempfile d'une donnée qui n'est pas un fichier (AttributeError: 'str' object has no attribute 'time')

Also available in: Atom PDF