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

Forum should trigger events for changing subscription mode and locking/unlocking discussions

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • 4.3
    • 2.6.3, 2.7, 4.0.5, 4.2.1
    • Events API, Forum
    • MOODLE_26_STABLE, MOODLE_27_STABLE, MOODLE_400_STABLE, MOODLE_402_STABLE
    • MOODLE_403_STABLE
    • 45743-forum-trigger-more-events-master
    • Hide

      Setup:

      1. create a new course
      2. create a forum

      Test changing subscription mode:

      1. go to subscriptions menu
      2. change subscription mode to any mode
      3. go to report course, then view logs
      4. check there is an event name called subscription mode updated

      Test locking/unlocking discussions:

      1. create a new discussion
      2. lock this discussion
      3. unlock this discussion
      4. go to report course, then view logs
      5. check there is a first event name called discussion lock updated and the event description contains the string "locked the discussion"
      6. check there is a second event name called discussion lock updated and ** the event description contains string "unlocked the discussion"
         
      Show
      Setup: create a new course create a forum Test changing subscription mode: go to subscriptions menu change subscription mode to any mode go to report course, then view logs check there is an event name called subscription mode updated Test locking/unlocking discussions: create a new discussion lock this discussion unlock this discussion go to report course, then view logs check there is a first event name called discussion lock updated and the event description contains the string " locked the discussion" check there is a second event name called discussion lock updated and ** the event description contains string " unlocked the discussion"  

    Description

      1. Changing subscription mode.

      Attachments

        1. MDL-45743.png
          1.45 MB
          Ron Carl Alfon Yu
        2. patch-2023-07-11.diff
          4 kB
          Julien Boulen

        Issue Links

          Activity

            People

              jboulen Julien Boulen
              markn Mark Nelson
              Mathew May Mathew May
              Huong Nguyen Huong Nguyen
              Ron Carl Alfon Yu Ron Carl Alfon Yu
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 5 hours, 42 minutes
                  5h 42m

                  Clockify

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