Error if new entries are not saved before auto-lock: Database Error

ferebee's Avatar

ferebee

19 Feb, 2012 09:21 PM

  1. Create a new Note entry, or edit an existing Note in 1Password Mac 3.9.4.
  2. Do not Save. Edit mode remains active.
  3. Leave the computer.
  4. After a while 1Password auto-locks.
  5. Attempt to access new information on iOS version. Observe that it has not sync'ed.
  6. Observe an error message on the Mac:

Database Error
1Password must be unlocked. Failed to save [etc.]

This has always been a problem for me. The behavior seems to have improved in a recent version, in that unlocking 1P will allow the new information to be saved.

The same issue may apply to other entries besides Notes, but I have not verified that.

It seems to me that:

  1. If a new entry has been entered, there is no reason not to automatically Save it before entering auto-lock.
  2. If an existing entry has been edited, it is perhaps debatable whether autosave is appropriate. I would argue that it is, but alternatively, 1P could make a copy of the edited entry and save it as "XYZ (autosave)".
  3. The current behavior, which means that if I forget to Save on my Mac, I am missing the latest information on iOS on the road, is not good. At least the information doesn't seem to get completely lost anymore, which used to happen to me regularly.

Best,
Chris Ferebee

  1. Support Staff 2 Posted by Kyle Swank on 20 Feb, 2012 04:58 PM

    Kyle Swank's Avatar

    Hi Chris,

    I do apologize for the trouble. We don't want to assume anything since in many cases saving or editing can be destructive and could result in data that wasn't intended to be saved or perhaps wasn't fully updated prior to us assuming it needed to be saved.

    There may be some other solutions to this but right now the easiest way to do this is to simply click the Save button if that's what you intend to happen. Our thinking is that we shouldn't "block" the locking of the application because there is an open item in edit mode so we just lock and call it good. The intended outcome is that when you unlock you have the opportunity to save the item as if you had never left.

    I'll make a note of this and see if we can come up with any alternatives. Thanks for the feedback though!

    Cheers!

    Kyle Swank
    AgileBits Support

  2. 3 Posted by ferebee on 30 May, 2012 08:09 PM

    ferebee's Avatar

    This is still an issue for me. Just now, I added some new information to a Note, did not save, and left the computer for a while until 1Password auto-locked.

    When I returned (I had not accessed 1Password from my other devices in the meantime), 1Password was displaying the error mentioned in my first post:

    Database Error
    1Password must be unlocked. Failed to save [item] etc.

    I unlocked 1Password, and the Note had reverted to its previous state. My new information was lost.

    This has happened quite a bit with the current version 3.9.5. Obviously, it's not acceptable to lose information like this with no way to recover it...

    Best,
    Chris Ferebee

  3. Support Staff 4 Posted by Khad Young on 30 May, 2012 08:18 PM

    Khad Young's Avatar

    Chris,

    Thanks for your persistence with this. The behavior you describe is actually a regression. This was resolved in 1Password 3.8 and somehow reintroduced in 3.9. We should have this resolved in a future update, although I can't give a time frame for a specific release.

    If we can be of further assistance in the meantime, please let us know. We are always here to help!


    Khad Young
    Forum Choreographer, AgileBits
    http://agilebits.com/support

  4. System closed this discussion on 11 Jul, 2012 08:21 PM.

  5. ferebee re-opened this discussion on 02 Aug, 2012 07:11 PM

  6. 5 Posted by ferebee on 02 Aug, 2012 07:11 PM

    ferebee's Avatar

    Hi,

    I just wanted to check on the status of this, as I lost some more important information today as a result of this bug.

    To restate the problem:

    - edit a secure note, entering new information
    - leave the computer without saving
    - return to find an error message, "Database Error, 1Password must be unlocked. Failed to save [etc.]"

    Possibly depending on additional circumstances, the new information that was entered is now lost.

    It should be clear that this behavior is not acceptable, and is a serious bug that needs to be fixed.

    Thinking about it, I can see that there may be non-trivial issues involved, but please make it a priority.

    Best,
    Chris Ferebee
    http://ferebee.net

    Am 30.05.2012 um 22:18 schrieb Khad Young <[email blocked]>:

  7. 6 Posted by Kelly Guimont on 02 Aug, 2012 11:08 PM

    Kelly Guimont's Avatar

    Hi Chris,

    I noticed in your original report you were using version 3.9.4. Is that still the case? Our latest release is 3.9.6 so let me know if that's what you have now or not, this will let us know if it's still an issue in our shipping code.

    Thanks,
    Kelly Guimont
    Support Jedi
    http://agilebits.com

  8. 7 Posted by ferebee on 03 Aug, 2012 12:45 AM

    ferebee's Avatar

    Hi Kelly,

    Yes, sorry, I forgot to mention that. I'm using the App Store version and currently have 3.9.6 installed on both my Macs (Mac mini Early 2009 and MacBook Air 2012), which are both running OS X 10.8 GM (12A269).

    I also use the iOS version on my iPhone 4S and iPad 3 (iOS 5.1.1), and both are running the latest version of 1P available through iTunes.

    Best,
    Chris

    Am 03.08.2012 um 01:07 schrieb "Kelly Guimont" <[email blocked]>:

  9. Support Staff 8 Posted by Khad Young on 03 Aug, 2012 02:46 AM

    Khad Young's Avatar

    This is definitely something we want to get fixed, but it is not possible to give a time frame. I've added some notes on this issue to our internal tracker (including a link to this ticket so we should be able to notify you when this is resolved). I've also bumped the developers on this but know they are waist deep in some other very critical projects right now. I'm sorry I don't have a more immediately gratifying answer.

    Please do let me know if there is anything else I can help with, though.


    Khad Young
    Forum Choreographer, AgileBits
    http://agilebits.com/support

  10. Support Staff 9 Posted by Khad Young on 03 Aug, 2012 02:48 AM

    Khad Young's Avatar

    I almost forgot: It is obviously not ideal, but just be sure to save the item before walking away from your computer or closing the lid and that will mitigate the issue until we are able to resolve it.

    I'm sure you have already thought of this, but I just wanted to make sure to mention it just in case or as a reminder.


    Khad Young
    Forum Choreographer, AgileBits
    http://agilebits.com/support

  11. System closed this discussion on 14 Sep, 2012 02:51 AM.

Comments are currently closed for this discussion. You can start a new one.