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

Javascript exception when opening recording only room

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.0.6
    • 4.0.5
    • BigBlueButton
    • MOODLE_400_STABLE
    • MOODLE_400_STABLE
    • MDL-76332-master
    • Hide
      1. Create a course C1
      2. Open the browser's javascript console
      3. Create a new BigblueButton activity (type: Recording only)
      4. Save and display the BBB activity
      5. Check that there are no errors related to javascript
      6. Create a new Bigbluebutton activity (type: Room with recordings)
      7. Check that there are no errors related to javascript
      8. Open the browser's network tab. Clear the logs if there are any.
      9. Check that there is a regular call to the mod_bigbluebuttonbn_meeting_info web service - about every 5 seconds
      Show
      Create a course C1 Open the browser's javascript console Create a new BigblueButton activity (type: Recording only) Save and display the BBB activity Check that there are no errors related to javascript Create a new Bigbluebutton activity (type: Room with recordings) Check that there are no errors related to javascript Open the browser's network tab. Clear the logs if there are any. Check that there is a regular call to the mod_bigbluebuttonbn_meeting_info web service - about every 5 seconds

    Description

      This happens in 4.0 and master. 

      1. Open a recording only room
      2. Look at the javascript console

      This is due to the join button not being present when running the room updater.

      You will see:

      4.0:

       

      roomupdater.js:8 Uncaught TypeError: Cannot read properties of null (reading 'dataset')
          at updateRoom (roomupdater.js:8:856)
          at poll (roomupdater.js:8:522)
          at roomupdater.js:8:316
       
      

       

      4.1:

      Uncaught TypeError: Cannot read properties of null (reading 'dataset')
          at updateRoom (roomupdater.js:91:38)
          at poll (roomupdater.js:70:5)
          at _exports.start (roomupdater.js:49:5)
          at _exports.init (rooms.js:72:17)
          at view.php?id=26:661:11
          at Object.execCb (require.js:1696:33)
          at Module.check (require.js:883:51)
          at Module.<anonymous> (require.js:1139:34)
          at require.js:134:23
          at require.js:1189:21
      updateRoom @ roomupdater.js:91

      ....

       

      Attachments

        1. MDL-76332_master.mp4
          6.46 MB
          John Edward Pedregosa
        2. MDL-76332_v400.mp4
          5.08 MB
          John Edward Pedregosa

        Issue Links

          Activity

            People

              lmdavid Laurent DAVID
              lmdavid Laurent DAVID
              Sara Arjona (@sarjona) Sara Arjona (@sarjona)
              Jun Pataleta Jun Pataleta
              John Edward Pedregosa John Edward Pedregosa
              Votes:
              0 Vote for this issue
              Watchers:
              5 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 - 1 hour, 46 minutes
                  1h 46m

                  Clockify

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