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

Web service moodle_group_get_groups doesn't work

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Incomplete
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Web Services
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jerome Jérôme Mouneyrac
              Reporter:
              howardsmiller Howard Miller
              Tester:
              Nobody
              Participants:
              Component watchers:
              Juan Leyva, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                24/Nov/10