Edgewall Software
Modify

Opened 16 years ago

Closed 16 years ago

#6885 closed defect (fixed)

detection of empty files on submit is broken

Reported by: jsalamero@… Owned by: Christopher Lenz
Priority: normal Milestone: 0.11
Component: admin/web Version: 0.11b1
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

427     def _do_install(self, req):
428         """Install a plugin."""
429         if not req.args.has_key('plugin_file'):
430             raise TracError(_('No file uploaded'))
431         upload = req.args['plugin_file']

seems to be broken because line 431 raises AttributeError: 'unicode' object has no attribute 'filename'

Attachments (0)

Change History (1)

comment:1 by osimons, 16 years ago

Milestone: 0.11
Resolution: fixed
Status: newclosed

You're right. That throws an exception - not all that nice.

Should be fixed in [6608].

Thanks for the bug report!

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christopher Lenz.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christopher Lenz to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.