Welcome to NeoOffice developer notes and announcements
NeoOffice
Developer notes and announcements
 
 

This website is an archive and is no longer active
NeoOffice announcements have moved to the NeoOffice News website


Support
· Forums
· NeoOffice Support
· NeoWiki


Announcements
· Twitter @NeoOffice


Downloads
· Download NeoOffice


  
NeoOffice :: View topic - (Re-)Saving to Google Docs makes a duplicate file?
(Re-)Saving to Google Docs makes a duplicate file?
 
   NeoOffice Forum Index -> NeoOffice Mobile Support
View previous topic :: View next topic  
Author Message
sardisson
Town Crier
Town Crier


Joined: Feb 01, 2004
Posts: 4588

PostPosted: Tue Dec 20, 2011 2:30 pm    Post subject: (Re-)Saving to Google Docs makes a duplicate file?

Earlier this week, I "opened" a spreadsheet from Google Docs via NeoOffice Mobile, made some changes, and hit the "Save" button in NeoOffice Mobile.

I discovered today that, instead of saving a new version of the file I "opened", I had ended up with a new copy of the file (with the exact same name) and the original file was untouched.

Since neomobile.neooffice.org updates the original file (although it does provide access to past versions), I had expected the Google Docs integration to behave the same way (except, perhaps, not having integration with the Google Docs "revision history" feature).

Is creating an entirely new document a bug, or is this the way the Google Docs API works?

Smokey

_________________
"[...] whether the duck drinks hot chocolate or coffee is irrelevant." -- ovvldc and sardisson in the NeoWiki
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Tue Dec 20, 2011 4:33 pm    Post subject: Re: (Re-)Saving to Google Docs makes a duplicate file?

sardisson wrote:
Is creating an entirely new document a bug, or is this the way the Google Docs API works?


I can confirm that this is definitely a new bug as it occurs in the latest test patch but not in an unpatched version of NeoOffice. Since both are connecting to the same NeoOffice Mobile servers, that makes me conclude the bug must be in the NeoOffice test patch code.

I will post a new test patch once I track down how what is causing this bug.

Patrick
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Tue Dec 20, 2011 5:05 pm    Post subject:

I have an update: it is not a bug. I had forgotten unlike regular NeoOffice Mobile documents or Mac OS X folders, Google Docs has an unusual feature that allows you to have more than one document with the same name.

To support this feature, there are some subtly different steps that are required to overwrite an existing Google Docs document: you must select the existing document in NeoOffice Mobile's Google Docs document list. If you select an existing Google Docs document and the filename in the "Save as" field and type of document match the selected existing document, then NeoOffice Mobile will tell Google Docs to overwrite the exsting file.

If you do not select an existing document or the document's filename or type do not match the selected document, then the document will be uploaded as a new Google Docs document.

I hope that clarifies how the Google Docs upload process works.

Patrick
Back to top
sardisson
Town Crier
Town Crier


Joined: Feb 01, 2004
Posts: 4588

PostPosted: Wed Dec 21, 2011 12:04 am    Post subject:

pluby wrote:
I hope that clarifies how the Google Docs upload process works.

Thanks for the clarification of the way Google Docs works; I'll check out that behavior a bit later Smile

(Also, for any wiki-elves reading, it might be useful to have a small page on NeoOffice Mobile "hints", and this would make a good addition. It's on my to-do list, but rather far down right now…)

Smokey

_________________
"[...] whether the duck drinks hot chocolate or coffee is irrelevant." -- ovvldc and sardisson in the NeoWiki
Back to top
Display posts from previous:   
   NeoOffice Forum Index -> NeoOffice Mobile Support All times are GMT - 7 Hours
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © Planamesa Inc.
NeoOffice is a registered trademark of Planamesa Inc. and may not be used without permission.
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.