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

          Luis de Vasconcelos created issue -
          Helen Foster made changes -
          Field Original Value New Value
          Link This issue has a non-specific relationship to MDL-23397 [ MDL-23397 ]
          Luis de Vasconcelos made changes -
          Comment [ Related Using Moodle discussion: http://moodle.org/mod/forum/discuss.php?d=195492 ]
          Michael de Raadt made changes -
          Fix Version/s STABLE backlog [ 10463 ]
          Priority Minor [ 4 ] Critical [ 2 ]
          Labels triaged
          Jérôme Mouneyrac made changes -
          Priority Critical [ 2 ] Minor [ 4 ]
          Jérôme Mouneyrac made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Duplicate [ 3 ]
          Michael de Raadt made changes -
          Link This issue will be resolved by MDL-33059 [ MDL-33059 ]
          Jérôme Mouneyrac made changes -
          Link This issue has been marked as being related by MDL-33059 [ MDL-33059 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved: