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

Replace Legacy events - Mixed

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.6
    • Component/s: Events API
    • Labels:
    • Testing Instructions:
      Hide

      Testing

      1. Create a workshop activity if you don't have one already and configure the following settings:
        • [Submission settings] Maximum submissions should be at least one.
        • [Availability] Enable and set:
          • Open for submission from (set the time in the past).
          • Submissions deadline (set into the future).
          • Open for assessment from (set into the future).
          • Check "Switch to the next phase after the submissions deadline".
      2. Fill in as much detail as you need to, to move from the Setup phase to the Submission phase.
      3. In the submission phase checklist, Select "Allocate submissions" to configure.
        1. Select the "Scheduled allocation" tab and set up the following:
          • [Scheduled allocation settings] Check "Enable scheduled allocation".
          • [Allocation settings] Check "Participants can assess without having submitted anything".
      4. Log in as a few students and submit some submissions.
      5. Log in as a teacher / admin and edit the following settings:
        • [Availability] Submission deadline - some time recently passed.
        • Open for assessment from - the same time as the "Submission deadline".
      6. [Important] Click "Save and return to course" Not "Save and display".
      7. Make sure you have cron execution disabled.
      8. Log in as a student and enter the workshop activity.
      9. Check that the workshop has moved into the Assessment phase and that submissions have been allocated to be marked.
      10. Log in as a teacher / admin and check that there are entries in the log for viewing the workshop.

      For further information or clarification about testing see the testing steps in MDL-37781 which deals with testing the same functionality with cron.

      Show
      Testing Create a workshop activity if you don't have one already and configure the following settings: [Submission settings] Maximum submissions should be at least one. [Availability] Enable and set: Open for submission from (set the time in the past). Submissions deadline (set into the future). Open for assessment from (set into the future). Check "Switch to the next phase after the submissions deadline". Fill in as much detail as you need to, to move from the Setup phase to the Submission phase. In the submission phase checklist, Select "Allocate submissions" to configure. Select the "Scheduled allocation" tab and set up the following: [Scheduled allocation settings] Check "Enable scheduled allocation". [Allocation settings] Check "Participants can assess without having submitted anything". Log in as a few students and submit some submissions. Log in as a teacher / admin and edit the following settings: [Availability] Submission deadline - some time recently passed. Open for assessment from - the same time as the "Submission deadline". [Important] Click "Save and return to course" Not "Save and display". Make sure you have cron execution disabled. Log in as a student and enter the workshop activity. Check that the workshop has moved into the Assessment phase and that submissions have been allocated to be marked. Log in as a teacher / admin and check that there are entries in the log for viewing the workshop. For further information or clarification about testing see the testing steps in MDL-37781 which deals with testing the same functionality with cron.
    • Affected Branches:
      MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      wip-MDL-39962-master
    • Story Points:
      20
    • Sprint:
      BACKEND Sprint 5

      Description

      Replace all legacy events related to lti,workshop.
      workshop_viewed
      lti_unknown_service_api_call

      Replace event handlers with event observers.
      mod/workshop/allocation/scheduled/db/events.php

      • workshopallocation_scheduled_workshop_viewed

      Edit - quiz events moved to a separate issue. portfolio_send also moved to a separate issue.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  18/Nov/13