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

Console errors related to Bigbluebutton guest button

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 4.1
    • 4.1
    • BigBlueButton
    • MOODLE_401_STABLE
    • MOODLE_401_STABLE
    • Hide
      1. Log in as admin
      2. Navigate to Plugins > Activity modules > Manage activities
      3. Enable BigBlueButton (accept the agreement)
      4. Navigate to Plugins > Activity modules > BigBlueButton > Experimental features
      5. Enable Create guest access link for external guests and save changes
      6. Create a course
      7. Turn editing on
      8. Add a BigBlueButton activity
        • Allow guest access in the meeting [ No ]
      9. Confirm Add guests button is not present
      10. Confirm no Javascript errors are present in browser console
      11. Edit settings of activity
        • Allow guest access in the meeting [ Yes ]
      12. Confirm Add guests button is present
      13. Press Add guests
      14. Confirm Add guests to this meeting modal opens
      Show
      Log in as admin Navigate to Plugins > Activity modules > Manage activities Enable BigBlueButton (accept the agreement) Navigate to Plugins > Activity modules > BigBlueButton > Experimental features Enable Create guest access link for external guests and save changes Create a course Turn editing on Add a BigBlueButton activity Allow guest access in the meeting [ No ] Confirm Add guests button is not present Confirm no Javascript errors are present in browser console Edit settings of activity Allow guest access in the meeting [ Yes ] Confirm Add guests button is present Press Add guests Confirm Add guests to this meeting modal opens

      This is a regression from MDL-74638 - if the Bigbluebutton activity doesn't have "Guest access" enabled then the following error is generated (in the browser console)

      Uncaught TypeError: showGuestAccessButton is null
          init http://localhost:8000/lib/requirejs.php/1668545400/core/first.js:2639
          <anonymous> http://localhost:8000/mod/bigbluebuttonbn/view.php?id=3&forceview=1 line 2 > injectedScript:3
          execCb http://localhost:8000/lib/javascript.php/1668545400/lib/requirejs/require.min.js:5
          check http://localhost:8000/lib/javascript.php/1668545400/lib/requirejs/require.min.js:5
          enable http://localhost:8000/lib/javascript.php/1668545400/lib/requirejs/require.min.js:5
          init http://localhost:8000/lib/javascript.php/1668545400/lib/requirejs/require.min.js:5
          o http://localhost:8000/lib/javascript.php/1668545400/lib/requirejs/require.min.js:5
          setTimeout handler*req.nextTick< http://localhost:8000/lib/javascript.php/1668545400/lib/requirejs/require.min.js:5
          o http://localhost:8000/lib/javascript.php/1668545400/lib/requirejs/require.min.js:5
          requirejs http://localhost:8000/lib/javascript.php/1668545400/lib/requirejs/require.min.js:5
          <anonymous> http://localhost:8000/mod/bigbluebuttonbn/view.php?id=3&forceview=1 line 2 > injectedScript:2
          jQuery 3
          runTemplateJS http://localhost:8000/lib/requirejs.php/1668545400/core/first.js:79
          domReplace http://localhost:8000/lib/requirejs.php/1668545400/core/first.js:79
          replaceNode http://localhost:8000/lib/requirejs.php/1668545400/core/first.js:79
          updateRoom http://localhost:8000/lib/requirejs.php/1668545400/core/first.js:2631
          jQuery 43
      first.js:2639:576
      
      

      This is also reported at MDL-76291, related to Behat tests - however those failures appear to predate the integration of MDL-74638

        1. guest_access_allowed_MDL-76322.png
          116 kB
          John Edward Pedregosa
        2. guest_access_not_allowed_MDL-76322.png
          146 kB
          John Edward Pedregosa
        3. image-2022-11-16-12-45-01-857.png
          42 kB
          David Woloszyn
        4. image-2022-11-16-12-45-56-557.png
          42 kB
          David Woloszyn
        5. no_button_no_js_errors.png
          147 kB
          David Woloszyn
        6. with_button_add_guest_modal.png
          104 kB
          David Woloszyn

            pholden Paul Holden
            pholden Paul Holden
            David Woloszyn David Woloszyn
            Shamim Rezaie Shamim Rezaie
            John Edward Pedregosa John Edward Pedregosa
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

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

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