Moodle
  1. Moodle
  2. MDL-31609

Web Service Test Client only contains the deprecated moodle_* functions. Need to add the new core_user_* functions.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.0.2, 2.1, 2.2
    • Fix Version/s: STABLE backlog
    • Component/s: Web Services
    • Labels:
    • Environment:
      Any
    • Database:
      Any
    • Testing Instructions:
      Hide

      Login to demo.moodle.net and open the Web service test client under Site administration / Development (/admin/webservice/testclient.php).
      Click on the Function list. It should display all the new core_user_* functions instead of (or including?) the old deprecated moodle_* functions.

      Show
      Login to demo.moodle.net and open the Web service test client under Site administration / Development (/admin/webservice/testclient.php). Click on the Function list. It should display all the new core_user_* functions instead of (or including?) the old deprecated moodle_* functions.
    • Affected Branches:
      MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE
    • Rank:
      38177

      Description

      The Function list on the Web service test client (Site administration / Development) only shows the old moodle_* functions which have, according to the http://docs.moodle.org/dev/Web_services_Roadmap, been deprecated. The core_user_* functions should be added to the test client so that web services using the new core_user_* methods can be tested when an admin wants to test a web service that uses those functions.

      Example:

      Some of the old functions currently available in the test client are:
      moodle_user_create_users()
      moodle_user_delete_users()
      moodle_user_get_users_by_id()
      moodle_user_update_users()

      Some of the new functions that are NOT available in the test client are:
      core_user_create_users()
      core_user_get_users_by_id()
      core_user_delete_users()
      core_user_update_users()

      See comments in MDL-23397.

        Issue Links

          Activity

            People

            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: