bigbluebutton / bigbluebutton

Complete open source web conferencing system.
https://bigbluebutton.org
GNU Lesser General Public License v3.0
8.57k stars 5.95k forks source link

[2.7 only] Locking public chat for a viewer while chat is closed crashes the chat #21767

Open Ithanil opened 4 hours ago

Ithanil commented 4 hours ago

Describe the bug If you lock the public chat for a viewer while it is closed and then reopen the chat, you see it crashed.

To Reproduce Steps to reproduce the behavior:

  1. Prepare a meeting with 1 moderator and 1 viewer and the chat closed
  2. As the moderator, click on the viewer and "Lock public chat"
  3. Observe that the participant list symbol changes position although the chat is not actually opened
  4. Open the chat and observe the error

Expected behavior The chat does not crash.

Video Screencast from 2024-11-27 17-47-25.webm

BBB version: BigBlueButton Server 2.7.15 (801)

I can't reproduce the issue on BBB 3.0!

Additional context Browser console:

Error: Minified React error #310; visit https://reactjs.org/docs/error-decoder.html?invariant=310 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
    Ya https://bbb-proxy.example.net/bbb-abc-xyz/html5client/9730b53aebb8efa4668c5909b0badc4575816731.js?meteor_js_resource=true:72
    fs https://bbb-proxy.example.net/bbb-abc-xyz/html5client/9730b53aebb8efa4668c5909b0badc4575816731.js?meteor_js_resource=true:72
    hs https://bbb-proxy.example.net/bbb-abc-xyz/html5client/9730b53aebb8efa4668c5909b0badc4575816731.js?meteor_js_resource=true:72
    useEffect https://bbb-proxy.example.net/bbb-abc-xyz/html5client/9730b53aebb8efa4668c5909b0badc4575816731.js?meteor_js_resource=true:32
    W https://bbb-proxy.example.net/bbb-abc-xyz/html5client/9730b53aebb8efa4668c5909b0badc4575816731.js?meteor_js_resource=true:649
    Za https://bbb-proxy.example.net/bbb-abc-xyz/html5client/9730b53aebb8efa4668c5909b0badc4575816731.js?meteor_js_resource=true:72
    Ys https://bbb-proxy.example.net/bbb-abc-xyz/html5client/9730b53aebb8efa4668c5909b0badc4575816731.js?meteor_js_resource=true:72
    Pu https://bbb-proxy.example.net/bbb-abc-xyz/html5client/9730b53aebb8efa4668c5909b0badc4575816731.js?meteor_js_resource=true:72
    Zu https://bbb-proxy.example.net/bbb-abc-xyz/html5client/9730b53aebb8efa4668c5909b0badc4575816731.js?meteor_js_resource=true:72
    $u https://bbb-proxy.example.net/bbb-abc-xyz/html5client/9730b53aebb8efa4668c5909b0badc4575816731.js?meteor_js_resource=true:72
    Gu https://bbb-proxy.example.net/bbb-abc-xyz/html5client/9730b53aebb8efa4668c5909b0badc4575816731.js?meteor_js_resource=true:72
    Bu https://bbb-proxy.example.net/bbb-abc-xyz/html5client/9730b53aebb8efa4668c5909b0badc4575816731.js?meteor_js_resource=true:72
    po https://bbb-proxy.example.net/bbb-abc-xyz/html5client/9730b53aebb8efa4668c5909b0badc4575816731.js?meteor_js_resource=true:72
    Fu https://bbb-proxy.example.net/bbb-abc-xyz/html5client/9730b53aebb8efa4668c5909b0badc4575816731.js?meteor_js_resource=true:72
    Ae https://bbb-proxy.example.net/bbb-abc-xyz/html5client/9730b53aebb8efa4668c5909b0badc4575816731.js?meteor_js_resource=true:72
    pi https://bbb-proxy.example.net/bbb-abc-xyz/html5client/9730b53aebb8efa4668c5909b0badc4575816731.js?meteor_js_resource=true:72
    on https://bbb-proxy.example.net/bbb-abc-xyz/html5client/9730b53aebb8efa4668c5909b0badc4575816731.js?meteor_js_resource=true:72
    nn https://bbb-proxy.example.net/bbb-abc-xyz/html5client/9730b53aebb8efa4668c5909b0badc4575816731.js?meteor_js_resource=true:72
9730b53aebb8efa4668c5909b0badc4575816731.js:72:72362
[17:47:34:0159] ERROR: clientLogger: generic error boundary logger https://bbb-proxy.example.net/bbb-abc-xyz/html5client/9730b53aebb8efa4668c5909b0badc4575816731.js?meteor_js_resource=true:649:716106
antobinary commented 4 hours ago

Thanks for reporting!