You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue addresses a bug where the VALUE_OPTIONAL parameter in the get_chapters_parameters() function was causing errors during unit testing.
core\externallib_test::test_all_external_info with data set "pulseaction_notification_get_chapters" (stdClass Object (...))
Unexpected debugging() call detected.
Debugging: External function parameters: invalid OPTIONAL value specified.
* line 730 of /lib/externallib.php: call to debugging()
To resolve this issue, VALUE_OPTIONAL has been replaced with VALUE_DEFAULT, ensuring that the parameter remains optional while providing a default value when omitted.
Additionally, this issue includes the addition of missing privacy providers.
Moodle Version: 4.1.10
The text was updated successfully, but these errors were encountered:
vithushau
changed the title
Fix: Replace VALUE_OPTIONAL with VALUE_DEFAULT in get_chapters_parameters()
Replace VALUE_OPTIONAL with VALUE_DEFAULT in get_chapters_parameters()
May 23, 2024
This issue addresses a bug where the VALUE_OPTIONAL parameter in the get_chapters_parameters() function was causing errors during unit testing.
To resolve this issue, VALUE_OPTIONAL has been replaced with VALUE_DEFAULT, ensuring that the parameter remains optional while providing a default value when omitted.
Additionally, this issue includes the addition of missing privacy providers.
Moodle Version: 4.1.10
The text was updated successfully, but these errors were encountered: