Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
changing owners to Google Apps content programmatically: is this possible with the current apis?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Patricia Goldweic  
View profile  
 More options Apr 15 2011, 10:57 am
From: "Patricia Goldweic" <pgoldw...@northwestern.edu>
Date: Fri, 15 Apr 2011 09:57:08 -0500
Local: Fri, Apr 15 2011 10:57 am
Subject: changing owners to Google Apps content programmatically: is this possible with the current apis?
Hi,
I've written code to programmatically update an acl entry currently with
'write' permission to one with 'owner' permission, for Google Apps sites,
calendars and docs, but it appears *not* to work in either case ( I'm using
the gdata java client, build 1.43). In the case of both sites and calendars,
I get the following exception when I call the
GoogleService.update() method with the updated AclEntry:
"com.google.gdata.util.InvalidEntryException: Bad Request Invalid request
URI"

In the case of docs, I get a somewhat different exception:

com.google.gdata.util.InvalidEntryException: Unexpected resource version ID
<errors
xmlns='http://schemas.google.com/g/2005'><error><domain>GData</domain><code>
invalidResourceVersion</code><internalReason>Unexpected resource version
ID</internalReason></error></errors>

NOTE: I'm pretty sure that the request uris are correct. Also,  I *have* in
fact been able to create new Acl entries with 'owner' role, but apparently I
am being unable to modify an existing entry to also carry the 'owner' role.

I suspect that this might be a restriction on the base code (or a bug) .
Could somebody from Google confirm whether this ability is supported by the
gdata apis (EDU edition), and if it is, whether this is actually a bug?
Thanks in advance,
-Patricia

Patricia Goldweic
pgoldw...@northwestern.edu


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »