Environment tested: Master Browser tested: Chrome Preconditions: ---------------------------------- 1. Site admin user exists 2. Web services is configured as follows --- a. Allow outgoing web service requests: Yes --- b. Accept incoming web service requests: Yes 3. Enable protocols supported as a web services provider: --- a. XML-RPC: Yes --- b. REST: Yes --- c. OAuth: Yes 4. Network service group has been set up 5. Access tokens and allocated users to service groups have been set up a. Token = 84f1a3b6ca3553b6ccec28f6c74306e1 for 6. Service group = "Some service group"
Test Steps: ---------------------------------- 1. Log in as Site admin 2. Browse to Admin menu > Web services > Test client 3. Set the following fields to --- a. Protocol = Rest --- b. Authentication type = Token --- c. Service = "Some service group" --- d. Functions = "mahara_group_get_groups_by_id" 4. Click the next button 5. Verify that the following fields are displayed --- a. id --- b. shortname --- c. Institution --- d. wstoken 6. Do not fill anything in the fields and click Execute button Expected result: Error messages are displayed and fields are highlighted Actual result: After clicking the next button no fields were displayed and I received an error message [WAR] 05 (lib/errors.php:535) [PieformException]: Could not find rule "oneof" Call stack (most recent first): exception(object(PieformException)) at Unknown:0 Catalyst QA Failed Testing ✘ -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it! https://bugs.launchpad.net/bugs/1804907 Title: Mahara webservice testclient needs to indicate what are the requied fields Status in Mahara: In Progress Bug description: Some of the fields are required when calling Mahara webservice functions but it is not obvious when using the test client which ones they are To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1804907/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : [email protected] Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp

