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

The BBB plugin should remain disabled when URL is empty

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.4
    • BigBlueButton
    • MOODLE_404_STABLE
    • MDL-81898-404
    • MDL-81898-405
    • MDL-81898-master
      1. Go to "Site administration > Plugins > Activity modules > Manage activities".
      2. Click the "Settings" link for BigBlueButton.
      3. Set "BigBlueButton server URL" with a valid URL.
    • Hide

      Covered by phpunit tests. To test manually:

      Fresh Install of Moodle with patch

      1. Log in as admin
      2. Go to "Site administration > Activity modules > Manage activities".
      3. Check that BBB plugin is disabled by default
      4. Check that a warning message appears when enabling plugin that warns user to enter BBB credentials first
      5. Check that message link redirects to BigBlueButton General Settings
      6. Set valid server credentials
      7. Check that the plugin can now be enabled with no warning
      8. Create a course C1 and enroll student S1 and teacher T1
      9. Create a BBB activity B1 and check activity can be accessed as normal and no warning message appears
      10. Login as student S1
      11. Check that in B1 no error message appears
      12. Login as teacher T1
      13. Check that in B1 no error message appears
      Show
      Covered by phpunit tests. To test manually: Fresh Install of Moodle with patch Log in as admin Go to "Site administration > Activity modules > Manage activities". Check that BBB plugin is disabled by default Check that a warning message appears when enabling plugin that warns user to enter BBB credentials first Check that message link redirects to BigBlueButton General Settings Set valid server credentials Check that the plugin can now be enabled with no warning Create a course C1 and enroll student S1 and teacher T1 Create a BBB activity B1 and check activity can be accessed as normal and no warning message appears Login as student S1 Check that in B1 no error message appears Login as teacher T1 Check that in B1 no error message appears
    • Hide

      Code verified against automated checks.

      Checked MDL-81898 using repository: https://github.com/ssj365/moodle.git

      More information about this report

      Built on: Thu Jan 2 10:48:36 PM UTC 2025

      Show
      Code verified against automated checks. Checked MDL-81898 using repository: https://github.com/ssj365/moodle.git MOODLE_404_STABLE (0 errors / 0 warnings) [branch: MDL-81898-404 | CI Job ] MOODLE_405_STABLE (0 errors / 0 warnings) [branch: MDL-81898-405 | CI Job ] main (0 errors / 0 warnings) [branch: MDL-81898-master | CI Job ] More information about this report Built on: Thu Jan 2 10:48:36 PM UTC 2025

      Steps to reproduce

      1. Login as admin.
      2. Go to "Site administration > Activity modules > Manage activities".
      3. Enable BigBlueButton using the icon in the Enabled column.
      4. Create a course.
      5. Enable edit mode.
      6. Open the activity chooser and select "BigBlueButton".

       

      Expected behaviour

      The form to create a BBB activity is opened.

       

      Current behaviour

      The error "No response returned for call" is displayed:

      Or, when debug is disabled:

       

      Looking at this issue with the UX team, we agreed that the problem is that from Moodle 4.4 onwards, admins are not getting a warning when they enable the plugin and no BBB URL is defined. The workflow should be reviewed to show a warning, similar to what we had in Moodle 4.3, to warn admins about the URL empty, and probably disabling the BBB plugin until a valid URL is defined:

        1. config_server.PNG
          config_server.PNG
          186 kB
        2. disable_note.PNG
          disable_note.PNG
          129 kB
        3. error_no_credentials.PNG
          error_no_credentials.PNG
          203 kB
        4. MDL-81898_error.png
          MDL-81898_error.png
          230 kB
        5. moodle_404_errorwhencreatingbbb.png
          moodle_404_errorwhencreatingbbb.png
          52 kB
        6. moodle403_warningwhenenablingbbb.png
          moodle403_warningwhenenablingbbb.png
          57 kB

            shamiso.jaravaza Shamiso Jaravaza
            sarjona Sara Arjona (@sarjona)
            Luca Bösch Luca Bösch
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 15 minutes
                15m

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