#7683: Streaming Upload file deleted before move
-------------------------------------+--------------------------------------
Reporter: emperorcezar | Owner: nobody
Status: reopened | Milestone:
Component: Core framework | Version: SVN
Resolution: | Keywords:
Stage: Unreviewed | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
-------------------------------------+--------------------------------------
Changes (by andrewsk):
* cc: [EMAIL PROTECTED] (added)
Comment:
Attached patch doesn't fix the problem either. It looks like
raw_field.close() tries to delete the file, and if file was moved first,
it throws an exception. I'm wondering if we need to call close for
NamedTemporaryFile objects at all? Original patch 2070 didn't override
this method and everything worked.
--
Ticket URL: <http://code.djangoproject.com/ticket/7683#comment:6>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---