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

Clicking the "Validate completion" button from within a BigBlueButton activity results in an "invalidparameter"

XMLWordPrintable

      Clicking the "Validate completion" button from within a BigBlueButton activity results in an "invalidparameter: Invalid parameter value detected" error message.

      Steps to reproduce:

      1. Enable "Register live sessions" in BigBlueButton's experimental features
      2. Create a BigBlueButton activity with activity completion enabled
      3. Click on "Validate completion"

      Expected result: A confirmation that the action was executed successfully

      Actual result: Error message "Invalid parameter value detected"

      This seems to be caused by a mismatch in how the bigbluebuttonbnid argument is passed from the event handler (https://github.com/moodle/moodle/blob/f7a8df253b0ff3fc8ad73135b645d4e9317b06cb/mod/bigbluebuttonbn/amd/src/rooms.js#L44) to the function generating the AJAX call (https://github.com/moodle/moodle/blob/f7a8df253b0ff3fc8ad73135b645d4e9317b06cb/mod/bigbluebuttonbn/amd/src/repository.js#L117).

      The resulting request data is something like:

      [{"index":0,"methodname":"mod_bigbluebuttonbn_completion_validate","args":4}] 

      but it should be:

      [{"index":0,"methodname":"mod_bigbluebuttonbn_completion_validate","args":{"bigbluebuttonbnid":"4"}}] 

       

            yannicks Yannick Schillinger
            yannicks Yannick Schillinger
            Paul Holden Paul Holden
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            1 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated:
              Resolved:

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

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