brilianN / openintents

Automatically exported from code.google.com/p/openintents
0 stars 0 forks source link

TestSafe demonstrates an error when get or set password are called and the service isn't already started #179

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. log out of the oi safe service if it's logged in
2. start the safe test application
3. try to get or set a password
4. log into oi safe
5. upon return, notice that a null error message is returned.

Instead, it should just return OK or something.

Note that encrypt and decrypt seem to work.

I'm guessing this is a path through the code where we forget to set
result_ok or something silly like that.

Original issue reported on code.google.com by isaac.jo...@gmail.com on 16 Jan 2009 at 6:55

GoogleCodeExporter commented 9 years ago

Original comment by peli0...@googlemail.com on 16 Jan 2009 at 9:15

GoogleCodeExporter commented 9 years ago
Fixed in r1743.
getSetPassword was called before onResume(), therefore
dbHelper was still null.

Original comment by peli0...@googlemail.com on 17 Jan 2009 at 6:33