Django

Code

Ticket #7590 (closed: fixed)

Opened 3 months ago

Last modified 3 months ago

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

Reported by: CollinAnderson Assigned to: nobody
Milestone: Component: Uncategorized
Version: SVN Keywords:
Cc: cmawebsite@gmail.com Triage Stage: Unreviewed
Has patch: 0 Needs documentation:
Needs tests: Patch needs improvement:

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].

Attachments

Change History

07/01/08 13:47:47 changed by jacob

  • status changed from new to closed.
  • resolution set to fixed.

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


Add/Change #7590 ("The submitted file is empty." error caused by inconsistency in UploadedFile and InMemoryUploadedFile argument order.)




Change Properties
Action