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

Convert recent activity block to use new Events API

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.7
    • 2.5.1, 2.6.2, 2.7
    • Logging
    • MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE
    • MOODLE_27_STABLE
    • wip-MDL-41285-master
    • Hide

      Start test before upgrade:

      First copy code of the included behat test, run it and make sure it passes.

      1. Create course and enrol two students
      2. Add two activities
      3. Login as a student1 and view the course, log out.
      4. Login again as a teacher
      5. Edit one of activities (change name)
      6. Delete second one
      7. Create another activity

      Upgrade

      1. Log in as a student1
      2. View the course and make sure you can see the structural changes that have happened before upgrade but after previous view: one activity added, another edited, and another one deleted.
      3. Log in as a student2
      4. View the course and make sure you can see that there were two activities added (the deleted one will not be shown at all, the edit action will not be shown as well).
      5. Try creating, editing, deleting activities as a teacher and view the course as teacher and/or different users. This is pretty much covered by behat test anyway.
      1. Run cron, make sure that cron for block_recent_activity was executed
      Show
      Start test before upgrade: First copy code of the included behat test, run it and make sure it passes. Create course and enrol two students Add two activities Login as a student1 and view the course, log out. Login again as a teacher Edit one of activities (change name) Delete second one Create another activity Upgrade Log in as a student1 View the course and make sure you can see the structural changes that have happened before upgrade but after previous view: one activity added, another edited, and another one deleted. Log in as a student2 View the course and make sure you can see that there were two activities added (the deleted one will not be shown at all, the edit action will not be shown as well). Try creating, editing, deleting activities as a teacher and view the course as teacher and/or different users. This is pretty much covered by behat test anyway. Run cron, make sure that cron for block_recent_activity was executed
    • 20
    • BACKEND Sprint 11

          marina Marina Glancy
          marina Marina Glancy
          Ankit Agarwal Ankit Agarwal
          Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
          Andrew Davis Andrew Davis
          Votes:
          1 Vote for this issue
          Watchers:
          5 Start watching this issue

            Created:
            Updated:
            Resolved:

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