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

Workshop: Prevent submission creation without file/content

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.1.6, 3.2.2, 3.3, 3.4
    • 3.2.4, 3.3.1
    • 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.

    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.

      Attachments

        Issue Links

          Activity

            People

              rex Rex Lorenzo
              rex Rex Lorenzo
              David Mudrák (@mudrd8mz) David Mudrák (@mudrd8mz)
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              John Okely John Okely
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona)
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                10/Jul/17