Bug 52552 - issues with password-protected read-only files
Summary: issues with password-protected read-only files
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.4.1 release
Hardware: Other All
: medium major
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-26 15:42 UTC by cstern
Modified: 2016-12-08 07:02 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Document (60.50 KB, application/msword)
2013-04-30 13:23 UTC, Urmas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cstern 2012-07-26 15:42:53 UTC
Problem description: Formatting errors in read-only files, particularly read-only files with radio buttons. Inability to unlock password-protected read-only files.

Steps to reproduce:
1. Get a password-protected read-only file with radio buttons (e.g. http://www.iwcc.il.gov/arbdecFORM.doc ).
2. Open it.
3. Try editing the fields. Enter the correct password ("IWCC" without quotes) when prompted.

Current behavior: The formatting is messed up. (Note the lack of a radio button next to A. in the list midway down the first page.) You cannot edit the file, and there is no way to unlock it, even after entering the correct password.

Expected behavior: Correct formatting, file becomes unlocked and capable of editing after the password is entered.

Platform (if different from the browser): Windows 7 64-bit
              
Browser: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0.1
Comment 1 Florian Reisinger 2013-04-08 15:18:38 UTC
Please attach a different test document. Word does not need a PW at all, and LibO says the PW is wrong (Win 7 x64 LibO Version 3.6.6.2 (Build ID: f969faf))
Comment 2 Urmas 2013-04-30 13:23:37 UTC
Created attachment 78648 [details]
Document

The correct password is "iwcc".
Comment 3 Urmas 2013-04-30 13:26:18 UTC
Marking this as regression, because the password is not accepted at all in recent versions.
Comment 4 Jorendc 2013-05-13 20:46:44 UTC
Using Mac OSX 10.8.3 with LibreOffice 4.0.3.3 the password isn't queried/prompted at all. When you resave the document to another location, it LOOKS like you can edit the page, but you can't alter that much. Some text can be deleted/altered, others (like the checkboxes can't). When I try to alter something (remove checkbox for example) a message appears: 

Readonly content cannot be changed.
No modifications will be accepted

Kind regards,
Joren
Comment 5 tommy27 2013-10-19 07:34:47 UTC
I confirm above mentioned issues on 4.1.2.3 under Win7 64bit
Comment 6 Björn Michaelsen 2014-10-11 00:20:51 UTC
Removing regression keyword as there is no version named when this last/ever worked. Feel free to readd the keyword when providing that information.
Comment 7 QA Administrators 2015-10-14 19:56:36 UTC Comment hidden (obsolete)
Comment 8 Jean-Baptiste Faure 2016-05-21 16:12:48 UTC
No problem to edit and modify the attached file. No password requested, no problem to save the modified file.
Tested with Version: 5.2.0.0.alpha1+
Build ID: db787d50d0f57753d2ca46755f681ed959d69ae3

Please, attach a file that is really password protected. Status set to NEEDINFO

Best regards. JBF
Comment 9 QA Administrators 2016-12-07 12:50:15 UTC Comment hidden (obsolete)
Comment 10 cstern 2016-12-07 22:19:02 UTC
The document attached to the original bug report does not appear to be password protected any longer. Regardless, I tested with another document that is, and in LibreOffice Writer version 5.2.3.3, the issue no longer appears.
Comment 11 tommy27 2016-12-08 07:02:46 UTC
correct status is RESOLVED WORKSFORME
thanks 4 feedback