Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-59073

Workshop: Prevent submission creation without file/content

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.2.4, 3.3.1
    • 3.1.6, 3.2.2, 3.3, 3.4
    • Workshop
    • MOODLE_31_STABLE, MOODLE_32_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE
    • MOODLE_32_STABLE, MOODLE_33_STABLE
    • MDL-59073_workshop_prevent_submission_without_content_or_file
    • Hide

      1. Go to a course site as an instructor and add a Workshop activity.
      2. Go to the Workshop activity and switch to the Submission phase.
      4. Attempt a Workshop submission without a content or an attachment.
      5. Verify that you are redirected to the Submission page with a new error message on the form.
      6. Submit with content and/or an attachment and verify the successful submission.

      Show
      1. Go to a course site as an instructor and add a Workshop activity. 2. Go to the Workshop activity and switch to the Submission phase. 4. Attempt a Workshop submission without a content or an attachment. 5. Verify that you are redirected to the Submission page with a new error message on the form. 6. Submit with content and/or an attachment and verify the successful submission.

      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.

            rex Rex Lorenzo
            rex Rex Lorenzo
            David Mudrák (@mudrd8mz) David Mudrák (@mudrd8mz)
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            John Okely John Okely
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.