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

Console errors related to Bigbluebutton guest button

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 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

    Description

      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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:
                28/Nov/22

                Time Tracking

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