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

Download or installation problems? Try these steps
Problems after upgrading to NeoOffice 2017? Try these steps


Support
· NeoOffice Support
· NeoWiki


Announcements
· Twitter @NeoOffice


Downloads
· Download NeoOffice


RSS Feeds
· Announcements Only
· All Posts


  
NeoOffice :: View topic - (Re-)Saving to Google Docs makes a duplicate file?
(Re-)Saving to Google Docs makes a duplicate file?
 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    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? Reply with quote

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
View user's profile Send private message Visit poster's website
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11882
Location: California, USA

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

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
View user's profile Send private message Visit poster's website
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11882
Location: California, USA

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

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
View user's profile Send private message Visit poster's website
sardisson
Town Crier
Town Crier


Joined: Feb 01, 2004
Posts: 4588

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

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    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.
Page Generation: 0.03 Seconds