Description
if you view the attachment and just click on the upload button without selecting a file, then you can raise an TypeError "object of type 'NoneType' has no len()"
Steps to reproduce
- view attachment
- click "Upload" new attachment without selecting anything
you receive an TypeError
Example
Component selection
- general / attachment stuff
Details
MoinMoin Version |
this wiki 1.8.2 |
OS and Version |
|
Python Version |
|
Server Setup |
|
Server Details |
|
Language you are using the wiki in (set in the browser/UserPreferences) |
|
Workaround
don't do stupid thinks
Discussion
it would be better if an error message says that no files are uploaded or selected... whatever but not a pyton error
Plan
- Priority:
- Assigned to:
- Status: fixed in 1.7, 1.8, 1.9