Code

Opened 5 years ago

Closed 5 years ago

#10242 closed (invalid)

FileUploadHandler causes fatal error when refer to POST

Reported by: mutazmq Owned by: nobody
Component: File uploads/storage Version: 1.0
Severity: Keywords: crash python fileuploadhandler post
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

I have implemented my own FileUploadHandler and everything goes fine until I refer to POST (self.request.POST) in my code, the whole Python runtime crashes!

I have this problem only with self.request.POST! In contrast, self.request.GET and self.request.user works well.

Can anybody help me to solve this problem please? It is very important for me to overcome this problem ASAP!

I'm running: Django-1.0.2-final, Python 2.5.1 and MySQL on Mac OS 10.5.5

Thanks in advance.

Attachments (0)

Change History (2)

comment:1 Changed 5 years ago by anonymous

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

You should at least attach a stacktrace of the crash, but I assume the devs will also want a testcase with your FileUploadHandler - how else is anyone otherwise going to be able to see the bug?

comment:2 Changed 5 years ago by jacob

  • Resolution set to invalid
  • Status changed from new to closed

Please don't use the ticket tracker to ask questions -- ask on the django-users mailing list instead. The ticket tracker is only for reporting bugs in Django.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.