Ticket #496 (new task)

Opened 2 years ago

[Upload] Empty upload

Reported by: forgacs Owned by:
Priority: major Milestone: Mediamosa Modules D7
Component: WLE Version:
Keywords: Cc:
MoSCoW: Should Have Estimated time after impact analysis:
Related to project: none Tested: no
Accepted: no Estimated Hours: 0

Description

If you go to the upload page, and click to the Submit button without choosing a file, it causes different problems.

Suggestion: In the media_mediamosa.admin.inc file _media_mediamosa_uploaded_file() function (this is the redirect_uri) we should check, if the file size > 0, if not, then we should delete the asset and we shouldn't create a media.

Note: See TracTickets for help on using tickets.