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

Choice Activity: Allow open and close dates to act separately

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.1
    • 3.2
    • Choice
    • MOODLE_31_STABLE
    • MOODLE_32_STABLE
    • MDL-55140_m32v2
    • Moderate
    • Hide

      1. Manual testing:
      This requires a course with a teacher and a student

      1. Create choice activities:
        1. Open unset / Closed unset
        2. Open unset / Closed in the past
        3. Open unset / Closed in the future
        4. Open in the past / Closed unset
        5. Open in the past / Closed in the past
        6. Open in the past / Closed in the future
        7. Open in the future / Closed unset
        8. Open in the future / Closed in the past – you cannot create this one and should see an error about times
        9. Open in the future / Closed in the future
      2. Access each of these choice activities as a student user
        1. Verify that you can access only 1, 3, 4, and 6.
        2. Verify you get an appropriate error message for 2, 5, 7, and 9.
      3. Repeat using the Moodle Mobile app and confirm everything still works.

      2. Automated testing:

      1. Run PHPunit for mod_choice
      2. Run Behat for mod_choice
      Show
      1. Manual testing: This requires a course with a teacher and a student Create choice activities: Open unset / Closed unset Open unset / Closed in the past Open unset / Closed in the future Open in the past / Closed unset Open in the past / Closed in the past Open in the past / Closed in the future Open in the future / Closed unset Open in the future / Closed in the past – you cannot create this one and should see an error about times Open in the future / Closed in the future Access each of these choice activities as a student user Verify that you can access only 1, 3, 4, and 6. Verify you get an appropriate error message for 2, 5, 7, and 9. Repeat using the Moodle Mobile app and confirm everything still works. 2. Automated testing: Run PHPunit for mod_choice Run Behat for mod_choice

    Description

      This is a follow up from MDL-32135

      In the choice activity there is a single checkbox that controls the open and close dates for the choice activity. These should be updated to be consistent with other modules. and have a checkbox to enable each one separately.

      See : https://tracker.moodle.org/browse/MDL-32135?focusedCommentId=416647&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-416647 for more information.

      Attachments

        Issue Links

          Activity

            People

              sbourget Stephen Bourget
              sbourget Stephen Bourget
              Mark Nelson Mark Nelson
              Andrew Lyons Andrew Lyons
              Andrew Lyons Andrew Lyons
              Dan Marsden, 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:
                5/Dec/16