To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=107511
                 Issue #|107511
                 Summary|unotools: Dataloss on NFS without locking
               Component|framework
                 Version|OOO320m7
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P3
            Subcomponent|code
             Assigned to|fs
             Reported by|kendy





------- Additional comments from [email protected] Mon Dec  7 21:45:09 +0000 
2009 -------
On NFS that does not support locking, the following leads to a dataloss:

- create a new spreadsheet
- Save As, eg. to blah.ods
  - works OK
- Save As, again to blah.ods
  - you get "Error saving the document blah: Error creating object. Could not
create backup copy." dialog
  - the original blah.ods is lost
  - and you get an empty blah0.ods

The reason is that in that case, File::open returns E_NOLCK, which is not 
handled
during the tmpfile creation, and leads to strange sideeffects.  I'll attach a
patch.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to