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

Workshop skips scheduled allocation

XMLWordPrintable

    • MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE
    • MOODLE_311_STABLE
    • MDL-68944-master
    • Hide

      Setup

      1. Login as admin.
      2. Create the following users: teacher1, student1 and student2.
      3. Create course "course1".
      4. Logout.
      5. Login as teacher1.
      6. Create workshop "workshop" in "course1".
      7. Configure "workshop" with the minimum parameters.
      8. Go to "workshop" and click "Switch to the next phase".
      9. Click "Allocate submissions".
      10. Access to "Scheduled allocation" section.
      11. Enable "Automatically allocate submissions at the end of the submission phase".

       

      Testing instructions

      1. Login as student1.
      2. Submit something to "workshop".
      3. Login as student2.
      4. Submit something to "workshop".
      5. Login as teacher1.
      6. Go to "workshop" settings and configure it like this:
        • Availability > Submission deadline > Add a date "now + 1minute" and click "Enable"
        • Activate "Switch to the next phase after the submissions deadline"
      7. Wait one minute (or until the submission deadline).
      8. Execute the workshop cron:

        php admin/cli/scheduled_task.php --execute=\\mod_workshop\\task\\cron_task 
        

      9. Execute the scheduled allocator task:

        php admin/cli/scheduled_task.php --execute=\\workshopallocation_scheduled\\task\\cron_task 

      10. Go to the workshop again.
      11. Check submissions are allocated.
      Show
      Setup Login as admin. Create the following users: teacher1, student1 and student2. Create course "course1". Logout. Login as teacher1. Create workshop "workshop" in "course1". Configure "workshop" with the minimum parameters. Go to "workshop" and click "Switch to the next phase". Click "Allocate submissions". Access to "Scheduled allocation" section. Enable "Automatically allocate submissions at the end of the submission phase".   Testing instructions Login as student1. Submit something to "workshop". Login as student2. Submit something to "workshop". Login as teacher1. Go to "workshop" settings and configure it like this: Availability > Submission deadline > Add a date "now + 1minute" and click "Enable" Activate "Switch to the next phase after the submissions deadline" Wait one minute (or until the submission deadline). Execute the workshop cron: php admin /cli/scheduled_task .php --execute=\\mod_workshop\\task\\cron_task Execute the scheduled allocator task: php admin /cli/scheduled_task .php --execute=\\workshopallocation_scheduled\\task\\cron_task Go to the workshop again. Check submissions are allocated.

      The Workshop activity skips the scheduled allocation step when the activity availability is set to automatically switch to next phase after the submissions deadline.

       

      To replicate, you will need to:

      • Have a course with instructor and student(s)
      • Create a basic workshop activity with the minimum requirements
      • In Availability setting, specify a Submissions deadline and check the box for "Switch to the next phase after the submissions deadline"
      • Complete the Setup phase and go to the Submission phase and Schedule to allocation submissions.
      • Student(s) to submit something.

      What happens:

      At the deadline, Submission phase changes to Assessment phase, but no submissions have been allocated.

        1. MDL-68944_master.png
          MDL-68944_master.png
          138 kB
        2. MDL-68944_v311.png
          MDL-68944_v311.png
          150 kB
        3. workshop-patch-39.diff
          17 kB

            jsegarra Juan Segarra Montesinos
            sherman Sherman Lai
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Shamim Rezaie Shamim Rezaie
            Angelia Dela Cruz Angelia Dela Cruz
            Votes:
            33 Vote for this issue
            Watchers:
            32 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours, 22 minutes
                4h 22m

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