Opened 16 years ago

Closed 16 years ago

#7590 closed (fixed)

"The submitted file is empty." error caused by inconsistency in UploadedFile and InMemoryUploadedFile argument order.

Reported by: Collin Anderson Owned by: nobody
Component: Uncategorized Version: dev
Severity: Keywords:
Cc: cmawebsite@… Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

"The submitted file is empty." newforms validation error comes up because there is an inconsistency in UploadedFile and InMemoryUploadedFile argument order.
Compare lines 23, 142, and 143 of http://code.djangoproject.com/browser/django/trunk/django/core/files/uploadedfile.py

This was introduced in [7814].

Change History (1)

comment:1 by Jacob, 16 years ago

Resolution: fixed
Status: newclosed

(In [7817]) Fixed #7590: made UploadedFile subclasses' init methods sane.

Note: See TracTickets for help on using tickets.
Back to Top