Edgewall Software

Ticket #6885 (closed defect: fixed)

Opened 6 months ago

Last modified 6 months ago

detection of empty files on submit is broken

Reported by: jsalamero@… Owned by: cmlenz
Priority: normal Milestone: 0.11
Component: admin/web Version: 0.11b1
Severity: normal Keywords:
Cc:

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

Change History

Changed 6 months ago by osimons

  • status changed from new to closed
  • resolution set to fixed
  • milestone set to 0.11

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

Should be fixed in [6608].

Thanks for the bug report!

Add/Change #6885 (detection of empty files on submit is broken)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.