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

externallib files: go throught all externallib.php files and replace key_exists by array_key_exists

XMLWordPrintable

    • MOODLE_23_STABLE
    • MOODLE_22_STABLE, MOODLE_23_STABLE
    • Hide

      Impacted location:

      • In web service administration: make service with authorized user, and add all functions. Add a student to the service. On the same page, missing capabilities are displayed for this student. No php error related to array_key_exists should be displayed.
      • Run web services PHPunit test for /course/tests/externallib_tests.php, /enrol/tests/externallib_tests.php, /enrol/manual/tests/externallib_tests.php.
      • go to the search page into the community block, check there is no php error related to array_key_exists.
      • in the admin create a token for a student. Link the token to a service containing all functions. Some missing capabilities should be displayed in the page. Check there is no php error related to array_key_exists.
      • trigger a moodle upgrade, check there is no error (a change has been done during web service functions update)
      Show
      Impacted location: In web service administration: make service with authorized user, and add all functions. Add a student to the service. On the same page, missing capabilities are displayed for this student. No php error related to array_key_exists should be displayed. Run web services PHPunit test for /course/tests/externallib_tests.php, /enrol/tests/externallib_tests.php, /enrol/manual/tests/externallib_tests.php. go to the search page into the community block, check there is no php error related to array_key_exists. in the admin create a token for a student. Link the token to a service containing all functions. Some missing capabilities should be displayed in the page. Check there is no php error related to array_key_exists. trigger a moodle upgrade, check there is no error (a change has been done during web service functions update)

      Also check other place in Moodle

            jerome Jérôme Mouneyrac
            jerome Jérôme Mouneyrac
            Rossiani Wijaya Rossiani Wijaya
            Sam Hemelryk Sam Hemelryk
            Frédéric Massart Frédéric Massart
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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