mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #63256
Wij hebben je helpdeskticket ontvangen '[Bug 1918423] Re: Missing function generate_simple_struct_class in soap webservice in /webservice/soap/locallib.php' en nemen zo spoedig mogelijk contact op
Beste "Doris Tam",
Dank je wel voor je melding aan onze helpdesk.
Onze helpdeskmedewerkers beschikken graag over zoveel mogelijk informatie over het gemelde probleem. We hebben in ieder geval de volgende informatie nodig:
Een gedetailleerde beschrijving van het probleem;
De URL van de pagina(’s) waar het probleem optreedt;
Vul je melding eventueel aan met:
Een beschrijving van de stappen die leidden tot het probleem;
Een of meerdere screenshots van de pagina(’s) waar het probleem zich voordoet;
De gebruikte browser waarin het probleem zich voordoet.
Wil je je melding aanvullen met ontbrekende informatie? Beantwoord dan deze mail.
Op die manier kunnen we je sneller helpen met het oplossen van je melding.
Nummer: *13824
Categorie:*
Technische ondersteuning
SLA:*
False
Beschrijving:*
Large parts of the webservice code originally came from Moodle. Checking
their codebase from 2018 which is when we ported their code over
(https://github.com/moodle/moodle/tree/MOODLE_32_STABLE)...
Zend was removed in MOODLE_31_STABLE.
>
https://github.com/moodle/moodle/blob/MOODLE_31_STABLE/webservice/soap/lib.php
--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1918423
Title:
Missing function generate_simple_struct_class in soap webservice in
/webservice/soap/locallib.php
Status in Mahara:
In Progress
Bug description:
When using the webservice with the following methods
mahara_institution_add_members, mahara_institution_decline_members,
mahara_institution_get_members, mahara_institution_get_requests,
mahara_institution_invite_members, mahara_institution_remove_members,
mahara_user_get_users, mahara_user_get_users_by_id,
mahara_user_create_users
we get the following error in the wsdl
/webservice/soap/server.php?wstoken=<token>&wsdl=1
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>MOODLE:error</faultcode>
<faultstring>Call to undefined method webservice_soap_server::generate_simple_struct_class()</faultstring>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
This function (generate_simple_struct_class) is called in the file
/webservice/soap/locallib.php on line 341
protected function get_phpdoc_type($keydesc) {
...
else if ($keydesc instanceof external_single_structure) {
$type = $this->generate_simple_struct_class($keydesc); // <<<
}
...
}
however the function generate_simple_struct_class is missing in this
class.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1918423/+subscriptions
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1918423
Title:
Missing function generate_simple_struct_class in soap webservice in
/webservice/soap/locallib.php
Status in Mahara:
In Progress
Bug description:
When using the webservice with the following methods
mahara_institution_add_members, mahara_institution_decline_members,
mahara_institution_get_members, mahara_institution_get_requests,
mahara_institution_invite_members, mahara_institution_remove_members,
mahara_user_get_users, mahara_user_get_users_by_id,
mahara_user_create_users
we get the following error in the wsdl
/webservice/soap/server.php?wstoken=<token>&wsdl=1
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>MOODLE:error</faultcode>
<faultstring>Call to undefined method webservice_soap_server::generate_simple_struct_class()</faultstring>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
This function (generate_simple_struct_class) is called in the file
/webservice/soap/locallib.php on line 341
protected function get_phpdoc_type($keydesc) {
...
else if ($keydesc instanceof external_single_structure) {
$type = $this->generate_simple_struct_class($keydesc); // <<<
}
...
}
however the function generate_simple_struct_class is missing in this
class.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1918423/+subscriptions