Issue 119294 - Cannot remove "password to open" and keep "password to allow editing"
Summary: Cannot remove "password to open" and keep "password to allow editing"
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: save-export (show other issues)
Version: 3.4.0
Hardware: PC All
: P3 Normal (vote)
Target Milestone: 3.4.1
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-27 22:21 UTC by Andrea Pescetti
Modified: 2012-11-14 08:34 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Andrea Pescetti 2012-04-27 22:21:57 UTC
OpenOffice 3.4-RC does not properly remove the "password to open" if the "password to allow editing" is set.

Regression with respect to 3.3.0.

1. Create a new Writer document
2. File - Save As - "test.odt", check "Save with password"
3. Set "password to open" = "aaaaa" and under "file sharing" enable "Open file read-only" and set "password to allow editing" to "bbbbb"
4. Save and reopen
5. Enter "aaaaa", the document opens read-only, click the "Modify" icon, enter "bbbbb", the document is open for editing
6. Save again, check "Save with password"
7. Leave "password to open" blank and under "file sharing" enable "Open file read-only" and set "password to allow editing" to "ccccc".

Expected result: the file can be opened without a password (works in 3.3.0). The "password to allow editing" is set to "ccccc".

Actual result: the file still needs a password to be opened, which is the one previously set, i.e., "aaaaa". The "password to allow editing" is correctly set to "ccccc".

[Found by Massimiliano during Italian QA tests]
Comment 1 Andrea Pescetti 2012-08-17 19:58:56 UTC
As reported again by Massimiliano during 3.4.1-RC testing, the bug is now fixed. Probably it was fixed together with the other password-related bugs fixed in 3.4.1.
Comment 2 binguo 2012-11-14 08:34:11 UTC
Verified on Aoo_Trunk_20121109.1800 rev 1407366
pass
Comment 3 binguo 2012-11-14 08:34:55 UTC
close it.