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

Close meetings when removing BBB activity

XMLWordPrintable

    • MOODLE_400_STABLE, MOODLE_401_STABLE
    • MOODLE_401_STABLE
    • Hide

      Covered by phpunit tests

      In a course C1:

      1. Set the course settings "Group mode" to visible group
      2. Create two groups G1 and G2 (Participants/Groups/Create group). Add S1 to the group G1.
      3. Add the current user to G1
      4. Create a new B1 Bigbluebutton Actiivty.
      5. Go back to the B1 conference room
      6. Start/Join a conference
      7. On the other tab while the conference is running go to C1 and delete the B1 activity.
      8. Run cron
      9. Go back to the BigbluebuttonBN meeting
      10. Ensure the meeting is ended
      11. Click on "Ok" to go back to the Bigbluebutton Moodle room page
      12. Ensure you are on the original course

      Check the error message displayed when we cannot find the activity:

      • Go to the page /mod/bigbluebuttonbn/bbb_view.php?id=9999&action=logout&courseid=1
      • Ensure that the message "Cannot find the BigbluebuttonBN activity" is displayed as an alert
      Show
      Covered by phpunit tests In a course C1: Set the course settings "Group mode" to visible group Create two groups G1 and G2 (Participants/Groups/Create group). Add S1 to the group G1. Add the current user to G1 Create a new B1 Bigbluebutton Actiivty. Go back to the B1 conference room Start/Join a conference On the other tab while the conference is running go to C1 and delete the B1 activity. Run cron Go back to the BigbluebuttonBN meeting Ensure the meeting is ended Click on "Ok" to go back to the Bigbluebutton Moodle room page Ensure you are on the original course Check the error message displayed when we cannot find the activity: Go to the page /mod/bigbluebuttonbn/bbb_view.php?id=9999&action=logout&courseid=1 Ensure that the message "Cannot find the BigbluebuttonBN activity" is displayed as an alert

      I'm not sure if this is really desirable, or open meetings should go on running although the BBB activity is deleted.

      bigbluebuttonbn_delete_instance (mod/bigbluebuttonbn/lib.php) loops over the course groups to delete a possible existing meeting for each group. It uses the groups_get_course_group function which only returns the active group, not all groups in the course.

        1. screenshot-1.png
          screenshot-1.png
          12 kB
        2. redirect after deletion.png
          redirect after deletion.png
          241 kB
        3. 12_MDL-73228_master.png
          12_MDL-73228_master.png
          9 kB
        4. 10_MDL-73228_master.png
          10_MDL-73228_master.png
          11 kB

            lmdavid Laurent DAVID
            vmdef Victor Déniz Falcón
            Shamiso Jaravaza Shamiso Jaravaza
            Jun Pataleta Jun Pataleta
            John Edward Pedregosa John Edward Pedregosa
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

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

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