Hi, I've had some code that has been working for a few months now,
that has suddenly changed behavior.  When I update the content of an
existing document, the update is successful, but the document gets
removed from the folder it resides in.

The strange thing is that this only occurs when I have created the
document inside the Google Docs web site interface.  It does not occur
if I create the document via the Google Docs API.

Here's how I can reproduce it every time:
1) Create a new document in the Google Docs web site.
2) Move the new document into a folder (via the web site interface).
3) Via the API, get the feed for that folder.
4) Via the API, issue a PUT against the document's edit link.
5) API returns success (200) and the "self" link in the returned feed
has not changed.
6) Browsing the web site, the document is no longer is in the folder.
It is still visible via the items "Owned by me", and it has been
successfully updated.

Like I said above, this seems to only occur if I create the document
within the Google Docs web interface.  If I replace steps 1 and 2 with
"Via the API, POST new document to the folder's feed", then the
problem does not occur.

And again, this was all working fine until about a week ago.  I am
using the Objective-C client library.

Is this a known issue?  Did something recently change?  Am I doing
something wrong?

Adam Shaw

-----------------------------------------------------------------------------------
If it helps, here is the posted data and response:

POSTED DATA:
<entry xmlns:gd="http://schemas.google.com/g/2005"; xmlns:app="http://
purl.org/atom/app#" xmlns="http://www.w3.org/2005/
Atom"><published>2009-08-02T18:22:21.405Z</published><content
src="http://docs.google.com/feeds/download/documents/Export?
docId=0AZMkL43O9OHRZHFxczM3d18zMzdjN3p3YmgzYw" type="text/html"/
><author><name>adamshaw</name><email>adams...@cox.net</email></
author><id>http://docs.google.com/feeds/folders/private/full/folder
%3Ab593eca4-1d62-4629-8e7a-d036c3ade131/document
%3Adqqs37w_337c7zwbh3c</id><title>Remote Test</title><category
term="http://schemas.google.com/docs/2007#document"; label="document"
scheme="http://schemas.google.com/g/2005#kind"/><category term="http://
schemas.google.com/g/2005/labels#viewed" label="viewed" scheme="http://
schemas.google.com/g/2005/labels"/><category term="Sync Test2"
label="Sync Test2" scheme="http://schemas.google.com/docs/2007/folders/
adams...@cox.net"/><gd:feedLink rel="http://schemas.google.com/acl/
2007#accessControlList" href="http://docs.google.com/feeds/acl/private/
full/document%3Adqqs37w_337c7zwbh3c"/><link title="Sync Test2"
type="application/atom+xml" rel="http://schemas.google.com/docs/
2007#parent" href="http://docs.google.com/feeds/documents/private/full/
folder%3Ab593eca4-1d62-4629-8e7a-d036c3ade131"/><link rel="alternate"
href="http://docs.google.com/Doc?
docid=0AZMkL43O9OHRZHFxczM3d18zMzdjN3p3YmgzYw&hl=en" type="text/html"/
><link rel="self" href="http://docs.google.com/feeds/folders/private/
full/folder%3Ab593eca4-1d62-4629-8e7a-d036c3ade131/document
%3Adqqs37w_337c7zwbh3c" type="application/atom+xml"/><link rel="edit"
href="http://docs.google.com/feeds/folders/private/full/folder
%3Ab593eca4-1d62-4629-8e7a-d036c3ade131/document%3Adqqs37w_337c7zwbh3c/
fxw3x8lv" type="application/atom+xml"/
><updated>2009-08-02T18:29:45.731Z</
updated><gd:resourceId>document:dqqs37w_337c7zwbh3c</
gd:resourceId><gd:lastModifiedBy><name>adamshaw</
name><email>adams...@cox.net</email></
gd:lastModifiedBy><gd:lastViewed>2009-08-02T18:22:23.489Z</
gd:lastViewed><gd:quotaBytesUsed>0</
gd:quotaBytesUsed><docs:writersCanInvite xmlns:docs="http://
schemas.google.com/docs/2007" value="true"/></entry>

RESPONSE:
<?xml version='1.0' encoding='UTF-8'?><entry xmlns='http://www.w3.org/
2005/Atom' xmlns:docs='http://schemas.google.com/docs/2007'
xmlns:batch='http://schemas.google.com/gdata/batch' xmlns:gd='http://
schemas.google.com/g/2005'><id>http://docs.google.com/feeds/folders/
private/full/folder%3Ab593eca4-1d62-4629-8e7a-d036c3ade131/document
%3Adqqs37w_337c7zwbh3c</id><published>2009-08-02T18:22:21.405Z</
published><updated>2009-08-02T18:30:28.024Z</updated><category
scheme='http://schemas.google.com/g/2005#kind' term='http://
schemas.google.com/docs/2007#document' label='document'/><category
scheme='http://schemas.google.com/g/2005/labels' term='http://
schemas.google.com/g/2005/labels#viewed' label='viewed'/><title
type='text'>Remote Test</title><content type='text/html' src='http://
docs.google.com/feeds/download/documents/Export?
docId=0AZMkL43O9OHRZHFxczM3d18zMzdjN3p3YmgzYw'/><link rel='alternate'
type='text/html' href='http://docs.google.com/Doc?
docid=0AZMkL43O9OHRZHFxczM3d18zMzdjN3p3YmgzYw&amp;hl=en'/><link
rel='self' type='application/atom+xml' href='http://docs.google.com/
feeds/folders/private/full/folder%3Ab593eca4-1d62-4629-8e7a-
d036c3ade131/document%3Adqqs37w_337c7zwbh3c'/><link rel='edit'
type='application/atom+xml' href='http://docs.google.com/feeds/folders/
private/full/folder%3Ab593eca4-1d62-4629-8e7a-d036c3ade131/document
%3Adqqs37w_337c7zwbh3c/fxw3y5qy'/><author><name>adamshaw</
name><email>adams...@cox.net</email></
author><gd:resourceId>document:dqqs37w_337c7zwbh3c</
gd:resourceId><gd:lastModifiedBy><name>adamshaw</
name><email>adams...@cox.net</email></
gd:lastModifiedBy><gd:lastViewed>2009-08-02T18:22:23.489Z</
gd:lastViewed><gd:quotaBytesUsed>0</
gd:quotaBytesUsed><docs:writersCanInvite value='true'/><gd:feedLink
rel='http://schemas.google.com/acl/2007#accessControlList'
href='http://docs.google.com/feeds/acl/private/full/document
%3Adqqs37w_337c7zwbh3c'/></entry>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Docs Data APIs" group.
To post to this group, send email to Google-Docs-Data-APIs@googlegroups.com
To unsubscribe from this group, send email to 
google-docs-data-apis+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Docs-Data-APIs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to