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

Choice Activity dates remain in course overview after student participation

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Create a course
      2. Create a user
      3. Enrol the user as a student in the course
      4. Create 4 choice activities
        1. In the past - set the available to date to some time in the past
        2. In progress 1 - set the available to date to some time in the future (and optionally the available from date to some time in the past)
        3. In progress 2 - dates as above and also set Allow choice to be updated to yes
        4. In the future - set the available from date to some time in the future (and optionally the available to date to some time after that)
      5. Log in as the student
      6. View the user's dashboard
      7. Confirm that an event for the past choice activity is not visible
      8. Confirm that an event for the in progress choice 1 is visible
      9. Confirm that an event for the in progress choice 2 is visible
      10. Confirm that an event for the future choice is visible
      11. Click the link to go to the in progress choice 1 activity
      12. Submit a response for the activity
      13. View the user's dashboard
      14. Confirm that the event for the in progress choice 1 is no longer visible
      15. Click the link to go to the in progress choice 2 activity
      16. Submit a response for the activity
      17. View the user's dashboard
      18. Confirm that the event for the in progress choice 2 is no longer visible
      Show
      Create a course Create a user Enrol the user as a student in the course Create 4 choice activities In the past - set the available to date to some time in the past In progress 1 - set the available to date to some time in the future (and optionally the available from date to some time in the past) In progress 2 - dates as above and also set Allow choice to be updated to yes In the future - set the available from date to some time in the future (and optionally the available to date to some time after that) Log in as the student View the user's dashboard Confirm that an event for the past choice activity is not visible Confirm that an event for the in progress choice 1 is visible Confirm that an event for the in progress choice 2 is visible Confirm that an event for the future choice is visible Click the link to go to the in progress choice 1 activity Submit a response for the activity View the user's dashboard Confirm that the event for the in progress choice 1 is no longer visible Click the link to go to the in progress choice 2 activity Submit a response for the activity View the user's dashboard Confirm that the event for the in progress choice 2 is no longer visible
    • Affected Branches:
      MOODLE_33_STABLE
    • Fixed Branches:
      MOODLE_33_STABLE
    • Pull Master Branch:
      MDL-58557-master

      Description

      I'm creating this issue after having failed the QA test MDLQA-10958.

      Here is a slight modification of the steps outlined in the first part of that test:

      1. As a teacher, create a choice activity with 'Allow responses from' checked and set to sometime in the future.
      2. Log in as a student and check you course overview.
      3. Confirm there is a choice event with that date.
      4. As a teacher change the "Allow responses from" date to a time in the past
      5. As a student, complete the choice activity
      6. Check your course overview and confirm the event is no longer there

      What actually happens, however, is that the Choice activity remains in the overview

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  15/May/17