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

Web service moodle_group_get_groups doesn't work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Major Major
    • 2.0
    • 2.0
    • Web Services
    • None
    • MOODLE_20_STABLE
    • MOODLE_20_STABLE

      1. Set up web services as per Overview using token authentication and xmlrpc
      2. Created a course
      3. Created a group in the course = Group ID is 1 (the only group on the system)
      4. Go to client test
      5. Select token auth hit go
      6. Select moodle_group_get_groups, enter token and enter group id (1). Other fields are empty
      7. Hit enter.....

      exception 'Zend_XmlRpc_Client_FaultException' with message 'Cource or activity not accessible.' in /var/www/moodle2/lib/zend/Zend/XmlRpc/Client.php:370
      Stack trace:
      #0 /var/www/moodle2/webservice/xmlrpc/locallib.php(72): Zend_XmlRpc_Client->call('moodle_group_ge...', Array)
      #1 /var/www/moodle2/admin/webservice/testclient.php(155): webservice_xmlrpc_test_client->simpletest('http://localhos...', 'moodle_group_ge...', Array)
      #2

      {main}

      PS. That's not how you spell 'course' either

            jerome Jérôme Mouneyrac
            howardsmiller Howard Miller
            Nobody Nobody (Inactive)
            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.