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

BBB plugin should return the 'showroom' feature via Web Services to avoid issues when the room is not ready

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 4.1
    • 4.1
    • BigBlueButton
    • MOODLE_401_STABLE
    • MOODLE_401_STABLE
    • MDL-75894-master
    • Hide
      Test
      1. As an admin, go to Site admin > Activity modules > Manage activities
      2. Enable BigBlueButton
      3. create or use an existing course on your site
      4. Create three different BigBlueButton activities with just one change in the configuration: the "Instance type" field should be set to "Room with recordings" for the first activity (a1), set to "Room only" for the second (a2) and finally "Only recordings" for the third (a3)
      5. Enrol one user as student in the previous course
      6. As an admin, enable "Mobile services": Site administration ► Mobile app ► Mobile settings
      7. Create a Token in the mobile app service for the previous student user
        • Click on Site administration ► Plugins ► Web services ► Manage tokens
      8. Open the console and execute this new curl request, replacing WS_TOKEN with the token you just created, the SITE_URL with yours and BBBID with the bigbluebuttonbn activity a1 (the one set to "Room with recordings") instance id.

        curl 'SITE_URL/webservice/rest/server.php?moodlewsrestformat=json&wsfunction=mod_bigbluebuttonbn_meeting_info' --data-raw 'bigbluebuttonbnid=BBBID&groupid=0&moodlewssettingfilter=true&moodlewssettingfileurl=true&moodlewssettinglang=en&wsfunction=mod_bigbluebuttonbn_meeting_info&wstoken=WS_TOKEN' --compressed | python -m "json.tool"

      9. Confirm that in the curl request response you see a features field with the following values:
        • The feature with name "showroom" is set to true
        • The feature with name "showrecordings" is set to true
      10. Repeat the previous CURL request but changing the id to the a2 (Room only) activity
      11. Confirm that in the curl request response you see a features field with the following values:
        • The feature with name "showroom" is set to true
        • The feature with name "showrecordings" is set to false
      12. Repeat the previous CURL request but changing the id to the a3 (Only recordings) activity
      13. Confirm that in the curl request response you see a features field with the following values:
        • The feature with name "showroom" is set to false
        • The feature with name "showrecordings" is set to true
      Show
      Test As an admin, go to Site admin > Activity modules > Manage activities Enable BigBlueButton create or use an existing course on your site Create three different BigBlueButton activities with just one change in the configuration: the "Instance type" field should be set to "Room with recordings" for the first activity (a1), set to "Room only" for the second (a2) and finally "Only recordings" for the third (a3) Enrol one user as student in the previous course As an admin, enable "Mobile services": Site administration ► Mobile app ► Mobile settings Create a Token in the mobile app service for the previous student user Click on Site administration ► Plugins ► Web services ► Manage tokens Open the console and execute this new curl request, replacing WS_TOKEN with the token you just created, the SITE_URL with yours and BBBID with the bigbluebuttonbn activity a1 (the one set to "Room with recordings") instance id. curl 'SITE_URL/webservice/rest/server.php?moodlewsrestformat=json&wsfunction=mod_bigbluebuttonbn_meeting_info' --data-raw 'bigbluebuttonbnid=BBBID&groupid=0&moodlewssettingfilter=true&moodlewssettingfileurl=true&moodlewssettinglang=en&wsfunction=mod_bigbluebuttonbn_meeting_info&wstoken=WS_TOKEN' --compressed | python -m "json.tool" Confirm that in the curl request response you see a features field with the following values: The feature with name "showroom" is set to true The feature with name "showrecordings" is set to true Repeat the previous CURL request but changing the id to the a2 (Room only) activity Confirm that in the curl request response you see a features field with the following values: The feature with name "showroom" is set to true The feature with name "showrecordings" is set to false Repeat the previous CURL request but changing the id to the a3 (Only recordings) activity Confirm that in the curl request response you see a features field with the following values: The feature with name "showroom" is set to false The feature with name "showrecordings" is set to true

      Please check the blocked issue for a detailed description: MOBILE-4137

            jleyva Juan Leyva
            jleyva Juan Leyva
            Dani Palou Dani Palou
            Jun Pataleta Jun Pataleta
            Angelia Dela Cruz Angelia Dela Cruz
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 55 minutes
                2h 55m

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