streamingltd / MEDIAL-Moodle-Activity

The MEDIAL activity plugin for Moodle
GNU General Public License v3.0
3 stars 8 forks source link

mod_helixmedia fails Behat test #17

Open opitz opened 8 months ago

opitz commented 8 months ago

The Behat test mod/assign/tests/behat/quickgrading.feature will fail with mod_helixmedia installed throwing the error:

And I press "Save changes": Moodle exception: Exception - Warning: Undefined array key 0 in [dirroot]/mod/helixmedia/locallib.php on line 153 File: /lib/behat/lib.php Line: 157 Stack trace: Error code: generalexceptionmessage * line 157 of /lib/behat/lib.php: Exception thrown * line 153 of /mod/helixmedia/locallib.php: call to behat_error_handler() * line 454 of /mod/helixmedia/locallib.php: call to helixmedia_curl_post_launch_html() * line 438 of /mod/helixmedia/locallib.php: call to helixmedia_get_media_status() * line 124 of /mod/assign/feedback/helixfeedback/locallib.php: call to helixmedia_is_preid_empty() * line 8547 of /mod/assign/locallib.php: call to assign_feedback_helixfeedback->save() * line 8714 of /mod/assign/locallib.php: call to assign->apply_grade_to_user() * line 1599 of /mod/assign/externallib.php: call to assign->save_grade() * line ? of unknownfile: call to mod_assign_external::submit_grading_form() * line 253 of /lib/external/classes/external_api.php: call to call_user_func_array() * line 83 of /lib/ajax/service.php: call to core_external\external_api::call_external_function()
Exception - Warning: Undefined array key 0 in [dirroot]/mod/helixmedia/locallib.php on line 153 (Exception)