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

Change order subplugin classes are retrieved by BigBlueButton

XMLWordPrintable

    • MOODLE_500_STABLE
    • MOODLE_500_STABLE
    • Hide
      1. Enable the BBB plugin and set it up with valid server credentials
      2. Unzip the two subplugins (simpleone_fixed.zip and simpletwo_fixed.zip) in mod/bigbluebuttonbn/extension
      3. Go to Site Administration > Plugins > BigBlueButton > Manage BigBlueButton extension plugins, check the order of the subplugins are:
        1. Simpleone
        2. Simpletwo
      4. Open a second tab, go to a course in edit mode.
      5. Add the activity chooser and click a Big Blue Button activity. 
        1. check In the activity form the order of subplugin configuration settings match the order from the admin page.
      6. In the first tab (still in the BBB plugins page), Reorder the subplugins from  Manage BigBlueButton extension plugins page
      7. Reload the activity creation form page in the second tab
        1. Confirm that the order of subplugin is now the same in the BBB activity form
      Show
      Enable the BBB plugin and set it up with valid server credentials Unzip the two subplugins ( simpleone_fixed.zip and simpletwo_fixed.zip ) in mod/bigbluebuttonbn/extension Go to Site Administration > Plugins > BigBlueButton > Manage BigBlueButton extension plugins, check the order of the subplugins are: Simpleone Simpletwo Open a second tab, go to a course in edit mode. Add the activity chooser and click a Big Blue Button activity.  check In the activity form the order of subplugin configuration settings match the order from the admin page. In the first tab (still in the BBB plugins page), Reorder the subplugins from  Manage BigBlueButton extension plugins page Reload the activity creation form page in the second tab Confirm that the order of subplugin is now the same in the BBB activity form
    • Hide

      Code verified against automated checks.

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

      More information about this report

      Built on: Mon Jan 27 11:06:18 PM UTC 2025

      Show
      Code verified against automated checks. Checked MDL-83766 using repository: https://github.com/ssj365/moodle.git main (0 errors / 0 warnings) [branch: MDL-83766 | CI Job ] More information about this report Built on: Mon Jan 27 11:06:18 PM UTC 2025
    • Show
      Launching automatic jobs for branch MDL-83766 https://ci.moodle.org/view/Testing/job/DEV.02%20-%20Developer-requested%20PHPUnit/18132/ PHPUnit (sqlsrv) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/61953/ Behat (NonJS - boost and classic) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/61954/ Behat (Firefox - boost) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/61955/ Behat (Firefox - classic) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/61956/ App tests (stable app version) Built on: Mon Feb 3 10:30:17 AM UTC 2025

      The core plugin now has hooks to extend functionality through the use of subplugins. For example, a subplugin is able to add extra parameters to the create and join URL of BBB sessions.

      Subplugin classes are retrieved arbitrarily in alphabetical order see moodle/mod/bigbluebuttonbn/classes/extension.php at main · moodle/moodle.

      When passing subplugin parameters, there is no real way to determine what happens when multiple subplugins pass values i.e. what is the priority when multiple subplugins pass the same parameter or pass an already existing core plugin parameter. We need to:

      • Fix the loss of functionality from alphabetic sorting 
      • Pass according to the order of subplugins from "Manage BigBlueButton extension plugins
        "

        1. order.PNG
          order.PNG
          107 kB
        2. image-2024-11-29-11-51-50-944.png
          image-2024-11-29-11-51-50-944.png
          33 kB
        3. image-2024-11-29-11-52-09-824.png
          image-2024-11-29-11-52-09-824.png
          14 kB
        4. extensions_test.tar.gz
          9 kB
        5. simpleone.zip
          25 kB
        6. simpletwo.zip
          13 kB
        7. (1) 3 Failed -- (Main)MDL-83766.png
          (1) 3 Failed -- (Main)MDL-83766.png
          62 kB
        8. (1) 5 Failed -- (Main)MDL-83766.png
          (1) 5 Failed -- (Main)MDL-83766.png
          110 kB
        9. image-2025-03-19-08-53-49-811.png
          image-2025-03-19-08-53-49-811.png
          19 kB
        10. image-2025-03-19-08-54-23-219.png
          image-2025-03-19-08-54-23-219.png
          34 kB
        11. simpleplugins.tgz
          9 kB
        12. simpleone_fixed.zip
          14 kB
        13. simpletwo_fixed.zip
          14 kB
        14. step03_plugins.png
          step03_plugins.png
          44 kB
        15. step05_order.png
          step05_order.png
          22 kB
        16. step06_plguins.png
          step06_plguins.png
          36 kB
        17. step07_order.png
          step07_order.png
          22 kB
        18. (1) 3 Passed -- (Main)MDL-83766.png
          (1) 3 Passed -- (Main)MDL-83766.png
          65 kB
        19. (1) 7 Passed -- (Main)MDL-83766.png
          (1) 7 Passed -- (Main)MDL-83766.png
          100 kB
        20. (1) 5 Passed -- (Main)MDL-83766.png
          (1) 5 Passed -- (Main)MDL-83766.png
          119 kB

            shamiso.jaravaza Shamiso Jaravaza
            shamiso.jaravaza Shamiso Jaravaza
            Laurent David Laurent David
            Ferran Recio Ferran Recio
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

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

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