SunilProgramer / secrets-for-android

Automatically exported from code.google.com/p/secrets-for-android
0 stars 0 forks source link

Wrong password once will get all your secrets removed #51

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Open "Secrets"
2.Enter the wrong password
3.Go back
4.Enter the right password
5.Restore your secrets.
6.Go back.
7.Enter the right password

What is the expected output? What do you see instead?

Expected:
After 2, an error message.
After 4, my list of secrets.
After 5, my secrets get restored from the latest backup.
After 7, my list of secrets.

Actual:
After 2 and 4, the message "Uh oh: a problem was encountered while loading 
your secrets. Some data may be lost", and an empty screen.
After 5, a "wrong password" error appears and no secrets are restored.
After 7, an empty screen but no error message.
(After entering the right password in 7, restore works again).

What version of the product are you using? On what operating system?

Version 1.4.8 on Nexus One.

Original issue reported on code.google.com by jtar...@google.com on 13 Jan 2010 at 2:47

GoogleCodeExporter commented 9 years ago

Original comment by roge...@gmail.com on 13 Jan 2010 at 3:12

GoogleCodeExporter commented 9 years ago
Thanks for the excellent repro steps jtarrio!  I have been able to find the 
source of 
the error that you reported, as well as the source of a few of other bugs 
reported by 
others.

If, after a successful login, you are brought back the login screen because of 
a 
screen timeout or other reason, then if you accidentally type the wrong 
password, you 
get a message that an error occurred and all secrets are lost.  Restoring will 
not 
work because the wrong password has been entered.

I will fix this asap, but in the meantime, please double check your password 
before 
pressing enter.  If you do encounter this problem though, and you are using 
1.4.8, 
then do the following:

- press the back button to go the login in
- press the back button to go the home screen
- start secrets again.  Be extra careful to enter the correct password
- use the restore function to find a restore point that will restore your 
secrets

Original comment by roge...@google.com on 13 Jan 2010 at 3:45

GoogleCodeExporter commented 9 years ago
Issue 49 has been merged into this issue.

Original comment by roge...@google.com on 13 Jan 2010 at 3:46

GoogleCodeExporter commented 9 years ago
Issue 50 has been merged into this issue.

Original comment by roge...@google.com on 13 Jan 2010 at 3:46

GoogleCodeExporter commented 9 years ago
The bug mentioned above was introduced with version 1.4.7.

Original comment by roge...@google.com on 13 Jan 2010 at 3:47

GoogleCodeExporter commented 9 years ago
It is exactly my Issue 50, but better structured.

Phone reboot could also return Secrets to normal behavior once problem 
encountered, 
so don't try entering password over and over.

Original comment by denis.li...@gmail.com on 13 Jan 2010 at 5:44

GoogleCodeExporter commented 9 years ago
Fixed in version 1.4.9

Original comment by roge...@google.com on 14 Jan 2010 at 4:53

GoogleCodeExporter commented 9 years ago

Original comment by roge...@google.com on 14 Jan 2010 at 4:53