Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.1.6, 3.2.2, 3.3, 3.4
-
Component/s: Workshop
-
Testing Instructions:
-
Affected Branches:MOODLE_31_STABLE, MOODLE_32_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE
-
Fixed Branches:MOODLE_32_STABLE, MOODLE_33_STABLE
-
Pull from Repository:
-
Pull Master Branch:
MDL-59073_workshop_prevent_submission_without_content_or_file
Description
It turns out that you can create a submission in the Workshop without uploading a file or entering any text in the Submission content box. The only Required field on the submission page is the submission title.
The submission should not be created unless there is text in the submission content box or a file is uploaded with a warning message if a user to prompt the user if she/he submits without text or file upload.
We have worked on a patch that we are contributing.