google-code-export / ooo2gd

Automatically exported from code.google.com/p/ooo2gd
1 stars 1 forks source link

can't update a file after that it has been modified in the browser #73

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Version of OOo2GD:1.8.2
Version of Java:
Operating System:mac os x 10.4.11
Version of OO.org:3.1.1
Is OO.org using Sun Java?: ...

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

Please provide any additional information below.
Try to create DocsService
DocsService created
Try to login
LogedIn
com.google.gdata.util.PreconditionFailedException: Mismatch: etags = 
["WE0VTUlRFSp7ImBr"], 
version = [g1kweip0]
<errors xmlns='http://schemas.google.com/g/2005'>
<error>
<domain>GData</domain>
<code>etagsMismatch</code>
<internalReason>Mismatch: etags = [&quot;WE0VTUlRFSp7ImBr&quot;], version = 
[g1kweip0]</internalReason>
</error>
</errors>

    at 
com.google.gdata.client.http.HttpGDataRequest.handleErrorResponse(HttpGDataReque
st.java:57
0)
    at 
com.google.gdata.client.http.GoogleGDataRequest.handleErrorResponse(GoogleGDataR
equest.jav
a:543)
    at 
com.google.gdata.client.http.HttpGDataRequest.checkResponse(HttpGDataRequest.jav
a:536)
    at com.google.gdata.client.http.HttpGDataRequest.execute(HttpGDataRequest.java:515)
    at 
com.google.gdata.client.http.GoogleGDataRequest.execute(GoogleGDataRequest.java:
515)
    at com.google.gdata.client.media.MediaService.updateMedia(MediaService.java:498)
    at org.openoffice.gdocs.util.GoogleDocsWrapper.update(GoogleDocsWrapper.java:333)
    at org.openoffice.gdocs.ui.dialogs.UploadDialog$9.run(UploadDialog.java:497)
    at java.lang.Thread.run(Thread.java:613)

Original issue reported on code.google.com by dimitri....@gmail.com on 3 Nov 2009 at 5:52

GoogleCodeExporter commented 9 years ago
If scenario looks like this:
1) Download document from Google Docs
2) Modify document in Google Docs using browser interface
3) Upload as update document downloaded in #1

It's expected behavior, you need to click "refresh" button next to field with
document name, this will refresh list of documents in Google Docs, and now you 
may
update chosen document.

Original comment by przeme...@gmail.com on 3 Nov 2009 at 6:44