What steps will reproduce the problem?
1. Try to restore a suspended user with UpdateUser in multidomain provsioning
client
2.
3.
What is the expected output? What do you see instead?
Should receive updated userentry object, instead:
gdata.client.RequestError: Server responded with: 400, [Line 1, Column 424,
element ns2:property] apps:property/@value is required.
What version of the product are you using? 2.1.7
Please provide any additional information below.
This is due to a change in behavior of API for suspended users. For suspended
users RetrieveUser does not return property values for first and last names. I
have worked around this by inserting the following into UpdateUser() in the
multidomain client (gdata.apps.multidomain.client)
user_entry = gdata.apps.multidomain.data.UserEntry(
email=email,first_name=user_entry.first_name,
last_name=user_entry.last_name,password=user_entry.password,
change_password=user_entry.change_password_at_next_login,
suspended=user_entry.suspended, is_admin=user_entry.is_admin,
ip_whitelisted=user_entry.ip_whitelisted, quota=user_entry.quota)
Original issue reported on code.google.com by chetty...@gmail.com on 26 Nov 2012 at 6:33
Original issue reported on code.google.com by
chetty...@gmail.com
on 26 Nov 2012 at 6:33