To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=75966 Issue #|75966 Summary|Document recovery does not work with a mis-typed, wron |g password Component|framework Version|OOo 2.1 Platform|All URL| OS/Version|Windows, all Status|NEW Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|code Assigned to|tm Reported by|tora
------- Additional comments from [EMAIL PROTECTED] Sat Mar 31 16:39:30 +0000 2007 ------- I am not sure whether this is an enhancement request of a bug. Reproduction: 1. Run /opt/openoffice.org2.1/program/soffice in a terminal emulator 2. Choose File/New/Text Document to start Writer, or something else 3. Type some letters in Writer 4. Save it with a password: 4-1) Choose File/Save to open a file selection dialog 4-2) Turn on an option "save with password" 4-3) Name a filename and click on a button "Save" 4-4) Fill fields with a password and "OK" 5. Type additional letters in order to change the status to "Modified" 6. Type Ctrl-C in the terminal emulator of the step 1 to suddenly terminate soffice 7. Run soffice again in the same way as the step 1 6. Click on a button "Start Recovery" in the dialog "Document Recovery" 7. Fill a field with a wrong password intentionally to reproduce this issue and then click on a button "OK" 8. You would be noticed with a dialog "Read-Error. The wrong password has been entered." 9. Click on a button "OK" to move on and click on a button "Next" The document has not been recovered 10. Choose File/Exit 11. Run soffice again in the same way as the step 1 and 7 12. You would face the dialog "Document Recovery" again 13. Click on a button "Start Recovery" as the step 6 14. In this time, you are not given a chance to enter the correct password 15. The dialog tells you "Recovery failed" Quick investigation: Do the same steps listed above and dump a file $HOME/.openoffice.org2/user/registry/data/org/openoffice/Office/Recovery.xcu step by step. You would find a value of DocumentState seems a key. - Before clicking on "Start Recovery" : <prop oor:name="DocumentState" oor:type="xs:int"> <value>32</value> </prop> - After document recovery has been failed : <prop oor:name="DocumentState" oor:type="xs:int"> <value>64</value> </prop> Possible solutions: How about giving a user a chance to: (a) Re-enter a password if a typed password is wrong? (Step 8) (b) Enter a password if the cause of failure in recovery of the last attempt is a wrong password? (Step 14) References: http://oooug.jp/faq/index.php?faq%2F4%2F391 (in Japanese) This phenomenon has been originally reported by Kimotomasaya. --------------------------------------------------------------------- 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]