mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #31666
[Bug 1507865] Re: Webservice create_users() has old social profile fields
To test webservices:
1) Go to Admin -> Extenstions -> Webservices test client and make sure
web services is switched on
2) Go to Institutions and create an institution
3) Edit institution and for the 'Authentication plugin' dropdown pick
'Webservices ...' and click 'Add' button then hit submit at bottom of
form
4) Go to Admin -> Users and click on a username of a user add them to
the new institution (bottom of form)
5) Now change their 'Authentication method' field to the one that is the
institution name + 'webservice' - click the 'save changes' button
6) Go back to Admin -> Extenstions -> Webservices and expand the 'Manage
service access tokens' part and search for the user and click 'Generate
token'
7) On the next form click the 'Back' link at base of form - as we don't
need to change anything thereat the moment
8) You should see the user now listed with a 'Token' set - copy this
token somewhere as you need it
9) Go to the 'Web service test client' page.
- For protocol choose any of the options
- For Type leave on 'Token'
go 'Next'
- Choose User Provisioning
go 'Next'
- Choose 'mahara_user_create_users'
go 'Next'
Try creating a user by filling in details into the fields
I think the first 5 fields are compulsory - but try finning different combinations of other options
The check that the users were created by logging in as them
Have fun!
--
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/1507865
Title:
Webservice create_users() has old social profile fields
Status in Mahara:
In Progress
Bug description:
The following fields are still implemented in the Webservice
create_users:
- aimscreenname
- icqnumber
- msnnumber
- yahoochat
- skypusername
- jabberusername
Which were all replaced by the new blocktype 'social profile' in the internal artefact.
If someone were to create a user and specify one of these fields, the
set_profile_field() will raise an error when generating the class name
(generate_artefact_class_name()) for the field.
I haven't actually tried to use the webservice but can see that it
will cause an error.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1507865/+subscriptions
References