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

Allow teacher to make choices for students

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.2
    • 1.9.5, 2.8.2
    • Choice
    • All
    • Any
    • MOODLE_19_STABLE, MOODLE_28_STABLE
    • MOODLE_32_STABLE
    • MDL-18592-master
    • Moderate
    • Hide

      Set debugging mode on

      Test 1

      1. Create a choice activity with multiple responses allowed
      2. Complete choice by several students, modify answers
      3. Login as teacher, go to "View responses" inside the choice activity
      4. Make sure you are able to modify and delete choices of students
      5. Go to choice settings and select to display results with names
      6. Now as a teacher you should be able to modify and delete choices on view page as well
      7. View choice logs and make sure all actions are logged. Changing of the answer should be logged as two events: answer removed and answer added
      8. Make sure students are not able to modify or delete answers of other students and don't see controls for it.
      9. Add access restrictions to the choice activity
      10. As a teacher make sure that the list of not answered users does not display users who can not access activity

      Test 2 - logs upgrade

      1. On another instance of 3.1 (without changes from this issue) create a course
      2. Create a choice activity with multiple responses allowed
      3. Complete choice by several students, modify answers, allow teacher to delete some answers
      4. View logs for this activity and leave the page open
      5. In another window backup the course with user data and logs
      6. Restore the backup on upgraded site
      7. In the final restore page, where you see the progress bar, open the browser code inspector and locate #executionprogress DOM node, check its contents, there should not be any debugging message
      8. View the logs and make sure they are displayed the same
      9. Inspect report "Events list" - events "Choice made" and "Choice updated" should be listed as "(no longer used)"
      10. Create new event monitor rule - you should not be able to subscribe to these two events but should be able to subscribe to "Choice answer added" and "Choice answer deleted"
      Show
      Set debugging mode on Test 1 Create a choice activity with multiple responses allowed Complete choice by several students, modify answers Login as teacher, go to "View responses" inside the choice activity Make sure you are able to modify and delete choices of students Go to choice settings and select to display results with names Now as a teacher you should be able to modify and delete choices on view page as well View choice logs and make sure all actions are logged. Changing of the answer should be logged as two events: answer removed and answer added Make sure students are not able to modify or delete answers of other students and don't see controls for it. Add access restrictions to the choice activity As a teacher make sure that the list of not answered users does not display users who can not access activity Test 2 - logs upgrade On another instance of 3.1 (without changes from this issue) create a course Create a choice activity with multiple responses allowed Complete choice by several students, modify answers, allow teacher to delete some answers View logs for this activity and leave the page open In another window backup the course with user data and logs Restore the backup on upgraded site In the final restore page, where you see the progress bar, open the browser code inspector and locate #executionprogress DOM node, check its contents, there should not be any debugging message View the logs and make sure they are displayed the same Inspect report "Events list" - events "Choice made" and "Choice updated" should be listed as "(no longer used)" Create new event monitor rule - you should not be able to subscribe to these two events but should be able to subscribe to "Choice answer added" and "Choice answer deleted"

      I've written code to allow a teacher to assign students who have not responded to a Choice option.

      See discussion: http://moodle.org/mod/forum/discuss.php?d=118914

      Code and screenshots will be posted in the next day or so.

        1. choice_events.png
          choice_events.png
          49 kB
        2. install.txt
          2 kB
        3. selectfor.php
          13 kB
        4. selectfor.v2.0.php
          13 kB
        5. SelectForDemo.pdf
          409 kB

            marina Marina Glancy
            bgray Brian Gray
            cameron1729 cameron1729
            Dan Poltawski Dan Poltawski
            Ryan Wyllie Ryan Wyllie
            Votes:
            22 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated:
              Resolved:

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