Retried views are passed empty files
Bug #1435810 reported by
Raphaël Badin
This bug affects 6 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Raphaël Badin |
Bug Description
This problem is what's causing commissioning to fail (and probably other problems) with errors like: http://
When the `signal` view is retried (because of a serialization error), request.FILES contains files that have been read already and thus reading them again returns the empty string.
Related branches
lp:~rvb/maas/retry-with-files
- Gavin Panella (community): Approve
-
Diff: 270 lines (+93/-34)2 files modifiedsrc/maasserver/utils/tests/test_views.py (+70/-26)
src/maasserver/utils/views.py (+23/-8)
Changed in maas: | |
status: | Triaged → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.