Modify ↓
Opened 18 years ago
Closed 18 years ago
#6885 closed defect (fixed)
detection of empty files on submit is broken
| Reported by: | 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 , 18 years ago
| Milestone: | → 0.11 |
|---|---|
| Resolution: | → fixed |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.



You're right. That throws an exception - not all that nice.
Should be fixed in [6608].
Thanks for the bug report!