I always get an error when trying to attach an empty file to a document using the lastest XEM 5.0M2-Snapshot.
Steps to reproduce:
- Go to any page
- Click on the "Attachments" tab
- Click "Browse" and select an empty file (0 bytes)
I got an error saying "An error occurred while uploading 2.txt", where 2.txt was my empty file. I've attached a screenshot and the stack trace.