gauravtyagi2777 / google-gdata

Automatically exported from code.google.com/p/google-gdata
0 stars 0 forks source link

501 not implemented #513

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. create a sample local file
2. create a new feedentry and set the new file via MediaSource
3. insert the new entry via documentservice.Insert
4. update the local file
5. change the mediasource of the feedentry
6. call documentservice.Update

What is the expected output? What do you see instead?
Expected is a new revision or min. updated content of the file in the web 
frontend of google docs.
i get an exception saying "501 not implemented".

Please use labels and text to provide additional information.
i tried also resumableuploader but there i get the same exception.  

Original issue reported on code.google.com by peter.ta...@cosmic-arts.net on 6 Jun 2011 at 4:51

GoogleCodeExporter commented 8 years ago
Peter,

Can you share the code you are using so that I can reproduce the issue in the 
same environment?
Thanks

Claudio

Original comment by ccherub...@google.com on 7 Jun 2011 at 3:36

GoogleCodeExporter commented 8 years ago
attached my unittest-code...

Original comment by peter.ta...@cosmic-arts.net on 8 Jun 2011 at 5:52

Attachments:

GoogleCodeExporter commented 8 years ago
Hi Peter,

Thanks for your code, however it works for me and I can't get the exception.
Can you capture the HTTP traffic with Fiddler and share it with us?
Thanks

Claudio

Original comment by ccherub...@google.com on 9 Jun 2011 at 1:57

GoogleCodeExporter commented 8 years ago
Hi Claudio,

sorry for the late response. In the sample from above, the content of the file 
is not updated after Update_ValidTextFile_True.

And the exceptions occurs if the file on GoogleDocs is not converted! I will 
make a sample file soon.

Original comment by peter.ta...@cosmic-arts.net on 15 Jun 2011 at 3:43

GoogleCodeExporter commented 8 years ago
here is the sample with update not implemented...

Original comment by peter.ta...@cosmic-arts.net on 15 Jun 2011 at 4:01

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks to your sample code I managed to find a bug in how the resumable upload 
component handled the updating of documents or file contents.
This is now fixed in rev. 1108

Original comment by ccherub...@google.com on 29 Jun 2011 at 3:19

GoogleCodeExporter commented 8 years ago
Issue 533 has been merged into this issue.

Original comment by ccherub...@google.com on 15 Aug 2011 at 2:25