You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2014/01/05 02:21:17 UTC

[Bug 123973] New: The "always create a backup file" lead to a temp files writing error and a lock of "save changes"

https://issues.apache.org/ooo/show_bug.cgi?id=123973

            Bug ID: 123973
        Issue Type: DEFECT
           Summary: The "always create a backup file" lead to a temp files
                    writing error and a lock of "save changes"
           Product: General
           Version: 4.0.1
          Hardware: PC
                OS: Windows 7
            Status: UNCONFIRMED
          Severity: critical
          Priority: P3
         Component: code
          Assignee: issues@openoffice.apache.org
          Reporter: bty-adminf1@trebly.net
                CC: issues@openoffice.apache.org

Created attachment 82214
  --> https://issues.apache.org/ooo/attachment.cgi?id=82214&action=edit
The errror backup message window

Hi,

When option "always create a backup file" is chosen (documentation separate
problem function not well explained), when you save the current file the
previous version (content of the temp file) is saved as normal file but with an
index number with increment at the end of the file name.

This lead to a writing backup file error.
The main file is then not updated the lonely solution is to save as.
Can too change the option this functions dynamically.

On the way to search the origin :
When you try to save the file .~lock.<name>>.odt# is updated
A file with previous content with name "<name>n.odt"  previous date with
previous content (n is first integer for a not existing filename : should
increment)

I have no gone farther. In this case there is probably an open-close-rename
file between lock and backup crossed.

It is easy to reproduce and check (moving current files, changing the option)

Good luck
Best regards

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 123973] The "always create a backup file" lead to a temp files writing error and a lock of "save changes"

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123973

Edwin Sharp <el...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|IRREPRODUCIBLE              |---
     Ever confirmed|0                           |1

--- Comment #7 from Edwin Sharp <el...@apache.org> ---
reopened

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 123973] The "always create a backup file" lead to a temp files writing error and a lock of "save changes"

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123973

Edwin Sharp <el...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |IRREPRODUCIBLE

--- Comment #3 from Edwin Sharp <el...@apache.org> ---
No info from author.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 123973] The "always create a backup file" lead to a temp files writing error and a lock of "save changes"

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123973

--- Comment #5 from trebly <bt...@trebly.net> ---
Waiting

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 123973] The "always create a backup file" lead to a temp files writing error and a lock of "save changes"

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123973

--- Comment #1 from trebly <bt...@trebly.net> ---
Found :

When repairing (or install ? not able to check quickly) the missing (not yet
created) ../user/backup/ subdir is not created.
Then when OOE tries to write the backup file the error is produced.

Remains to :
- check when the subdir is not created
- when error occurs hold it by checking the dir and if not exist create it (try
to) and retry backup file creation.

Best regards

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 123973] The "always create a backup file" lead to a temp files writing error and a lock of "save changes"

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123973

trebly <bt...@trebly.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bty-adminf1@trebly.net

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 123973] The "always create a backup file" lead to a temp files writing error and a lock of "save changes"

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123973

Edwin Sharp <el...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|needmoreinfo                |needhelp
             Status|VERIFIED                    |RESOLVED

--- Comment #6 from Edwin Sharp <el...@apache.org> ---
trying to reproduce comment 4
when repair error message "Please exit OpenOffice ..."
AOO410m1(Build:9750)  -  Rev. 1560574
Rev.1560574
Win 7

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 123973] The "always create a backup file" lead to a temp files writing error and a lock of "save changes"

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123973

trebly <bt...@trebly.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |VERIFIED

--- Comment #4 from trebly <bt...@trebly.net> ---
Hi,

Sorry, long time kept by other problems I have not seen your request.

I found the exact reason several days after opening the case.

1- Consider that accidentally the backup subdir has been deleted, empty because
the user have not chosen the option (detail about reasons : because of trojan
attack the user is copied - as recommended by MS - but the subdir "backup" is
not copied because empty, sure an error but this occurs)

2- You need to run the "repair" option of the installation of AOOe-4.0.1

3- Then you change the option for "backup"

4- When you start AOOe crashes because it tries to write to a non existing
path.

I reproduced it before writing.



Secondarly :

Because of this first crash the incremental copy with version numbering crashes
to, the user result is that without any more message he cannot save his current
file... (unefficient)

Elements of software solution : 

1- because this situation is exceptional it is the error handler which must
test the existence of the subdir "backup" when the writing error occurs, then
create and return to execution.
2- the repair installation must test if the subdir exists, if not (deleted
accidentally) create it

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 123973] The "always create a backup file" lead to a temp files writing error and a lock of "save changes"

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123973

Edwin Sharp <el...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |needmoreinfo
                 CC|                            |elish@apache.org

--- Comment #2 from Edwin Sharp <el...@apache.org> ---
Please specify simple steps to reproduce bug.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.