https://bugs.documentfoundation.org/show_bug.cgi?id=89236

Robert Gonzalez MX <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
            Summary|FILEOPEN opening password   |FILESAVE Error opening
                   |protected calc files        |password protected calc
                   |                            |files

--- Comment #5 from Robert Gonzalez MX <[email protected]> ---
20150905 testing

Taking again this issue.
Let's start from the beginning again.

Problem description:
When I try to open a password protected calc file, and I mistyped the password,
a corrupt file message like this displays in a dialog box:

The file '2015 09 05 Test New.ods' is corrupt and therefore cannot be opened.
LibreOffice can try to repair the file.

The corruption could be the result of document manipulation or of structural
document damage due to data transmission.

We recommend that you do not trust the content of the repaired document.
Execution of macros is disabled for this document.

Should LibreOffice repair the file? YES OR NO DIALOG

If YES nothing happens, leaving a “.~lock.2015 09 05 Test New.ods#” read only
file. No correction is made. And LO closes.

If NO

Second message displays

“The file '2015 09 05 Test New.ods' could not be repaired and therefore cannot
be opened.” OK button.

Third message 

“General Error” OK button.

LO closes.


Tested with the same results:
LO 5.0.2
LO 5.0.1
LO 4.4.5
LO 4.3.7
LO 4.2.8
LO 4.1.6
LO 4.0.6
LO 3.6.7
AOO 4.1.1



When tested with he following versions a different dialog message displays:
LO 3.3
AOO 3.2

Read-Error.
Format error discovered in the file in sub-document content.xml at 1,0 (row,
col)
OK button.

This tests were made in Windows XP SP3, Windows 7, Windows 8, Windows 8.1 and
Windows 10.


Tests with LO 5.0.1.2 on Linux OpenSuse 13.2 is reproducible.
In the same way


Steps to reproduce
Open test file ‘2015 09 09 Test New.ods’ with LO Version: 4.3.7.2
Build ID: 8a35821d8636a03b8bf4e15b48f59794652c68ba
password 20150905

insert one sheet or make some changes
Save the file 

open again

Type incorrect password 

“The password is incorrect. The file cannot be opened.” OK button
Repeat this last 2 steps again several times.
Same dialog response.

This is the correct behavior.



Steps to reproduce with LO 4.4.5

Open test file 2015 09 05 Test New.ods
Type incorrect password 


“The password is incorrect. The file cannot be opened.” OK button
Repeat this last 2 steps again several times.
Same dialog response.

This is the correct behavior.


Type correct password 20150905

File opens
insert one sheet or make some changes
Save the file 

open again

Type incorrect password 

Error message displays:

The file 'Test 2015 09 05 Test New.ods' is corrupt and therefore cannot be
opened. LibreOffice can try to repair the file.

The corruption could be the result of document manipulation or of structural
document damage due to data transmission.

We recommend that you do not trust the content of the repaired document.
Execution of macros is disabled for this document.

Should LibreOffice repair the file? YES OR NO DIALOG

If YES nothing happens, leaving a “.~lock.2015 09 05 Test New.ods#” read only
file. No correction is made. And LO closes.

If NO

Second message displays

“The file '2015 09 05 Test New.ods' could not be repaired and therefore cannot
be opened.” OK button.

Third message 

“General Error” OK button.

LO closes.



I'm changing the subject from FILEOPEN to FILESAVE because the problem is when
LO 4.4 saves the file, something is doing wrong, because, after saving, the
problem is present.
I noticed this since the release of the 4.4.0 in January 2015.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to