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

Context freezing not logged

XMLWordPrintable

    • MOODLE_36_STABLE, MOODLE_37_STABLE
    • MOODLE_36_STABLE, MOODLE_37_STABLE
    • Hide

      Setup

      1. Navigate to Site administration => Development => Experimental settings
      2. Enable "Context freezing" and save changes
      3. Create a category (Categoty 1)
      4. Create a course (Course 1)
      5. Add an activity to Course 1 as Activity 1

      Tests

      1. Login as admin
      2. Navigate to Category 1
      3. Freeze and then Unfreeze the category
      4. Navigate to "Site administration > Reports > Logs"
      5. Get the logs and verify that you can see an entry for your freezing and unfreezing of the category.
      6. Verify that clicking on the Event name takes you to Category 1
      7. Navigate to Course 1
      8. Freeze and then Unfreeze the course
      9. In the course action menu select More... then navigate to "Reports > Logs"
      10. Get the logs and verify that you can see an entry for your freezing and unfreezing of the course.
      11. Verify that clicking on the Event name takes you to Course 1
      12. Navigate to Activity 1
      13. Freeze and then Unfreeze the activity
      14. From the activity action menu select Logs
      15. Get the logs and verify that you can see an entry for your freezing and unfreezing of the activity.
      16. Verify that clicking on the Event name takes you to Activity 1
      Show
      Setup Navigate to Site administration => Development => Experimental settings Enable "Context freezing" and save changes Create a category ( Categoty 1 ) Create a course ( Course 1 ) Add an activity to Course 1 as Activity 1 Tests Login as admin Navigate to Category 1 Freeze and then Unfreeze the category Navigate to "Site administration > Reports > Logs" Get the logs and verify that you can see an entry for your freezing and unfreezing of the category. Verify that clicking on the Event name takes you to Category 1 Navigate to Course 1 Freeze and then Unfreeze the course In the course action menu select More... then navigate to "Reports > Logs" Get the logs and verify that you can see an entry for your freezing and unfreezing of the course. Verify that clicking on the Event name takes you to Course 1 Navigate to Activity 1 Freeze and then Unfreeze the activity From the activity action menu select Logs Get the logs and verify that you can see an entry for your freezing and unfreezing of the activity. Verify that clicking on the Event name takes you to Activity 1

      Changing the freeze state should be logged so we can see who/when the context state changed.

      I went looking for an event because we want to implement other actions when a course context is freezed - like converting some database based enrolments to manual enrolments.

        1. locked-event.png
          12 kB
          Neill Magill
        2. MDL-65443_01.png
          200 kB
          Jennifer Bauzon
        3. MDL-65443_02.png
          118 kB
          Jennifer Bauzon
        4. unlocked-event.png
          12 kB
          Neill Magill

            nmagill Neill Magill
            danmarsden Dan Marsden
            Amaia Anabitarte Amaia Anabitarte
            Adrian Greeve Adrian Greeve
            Jennifer Bauzon Jennifer Bauzon
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 1 hour, 15 minutes
                1d 1h 15m

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