Duplicate website fields after Dropbox sync

MikeT
edited November 2014 in Mac
This discussion was created from comments split from: Dropbox sync missing website.

Comments

  • richardgee
    richardgee
    Community Member

    I have a similar but slightly different problem - using Dropbox sync I sometimes see the websites duplicated in a record, even when only editing it on one device.

  • littlebobbytables
    littlebobbytables
    1Password Alumni

    @richardgee‌ Odd. When you've discovered this I'm guessing you edit it and remove the duplicate, do they tend to pop back or once you've removed it it all seems to settle down and behave?

  • richardgee
    richardgee
    Community Member

    Yes, they tend to come back, or occassionally even double up again. It may be a timing issue - if I wait several minutes and do it then it seems to be reliable.

  • Hi @Richardgee,

    When you said do it, can you explain what you mean? If you can give us steps of how to reproduce this, we'd be able to fix it.

    Please let me know.

    Thanks!

  • HenryAZ
    HenryAZ
    Community Member

    I am having duplicate web addresses show up in random login entries as well. I can go through my entire list of logins (60+) and edit out duplicates, and they begin reappearing. It has happened right after a wifi sync with my iPhone, at least that is how I can duplicate the behavior at this point. I am not sure that is the only thing causing the problem. I have noticed this behavior for some time now (at least back one version of 1Password and OS X). I am currently running 1Password 5.0.2 (build 502007), and OS X 10.10.1, but it was also happening on 10.9.x and the prior version of 1Password.

    I always use the web site address format of simply "example.com". The duplicates show up as another copy of that same thing, or as "http://example.com", "www.example.com", "http://www.example.com". I edit the extras out, and they just come back, not on the same login entry each time but seemingly randomly.

    I only use the wifi sync option with my one iPhone.

  • Hi @richardgee and @HenryAZ,

    We have a known issue (OPM-2626) that may explain at least some of these where doing multiple edits on an item where the first edit included adding a URL could cause that URL to be duplicated, even without sync.

    I don't think this would explain everything you two are seeing though. I'd love to get more information about how the items looked before and after. And what edits you did to the record between when it was fine, and when it got duplicates. Do the duplicates appear on both devices?

    Rick

  • HenryAZ
    HenryAZ
    Community Member

    Hi Rick,

    Before and after the fact, well before there was a single line item with the label "website" on the left, and the value on the right. I know I can fill in custom values in place of "website", but I generally do not. Some logins even have two "websites" on purpose, such as vzw.com and verizonwireless.com, and those logins will sometimes acquire duplicates of either or both addresses.

    After the fact, there are multiple line items with the label "website", but with the different values as I indicated in my first message. Rarely, there are dupes with the same value.

    As to what edits I did or did not do in between, for the most part there were no edits in between. I don't fool around with my entries very much at all (except to edit out duplicate "website" lines). I cannot say there wasn't an odd entry of two that might have had an edit in between, but for the most part, no, I don't touch them. I edit out the duplicate "website" entries, leave them alone, and later the duplicate entries just reappear.

    No, the duplicates do not appear on the iPhone, only on the desktop version. Even after a sync when the desktop has dupes, the iPhone has no dupes.

    I will add another data point. I also use 1Password on my laptop. To do this, I simply rsync copy the database from the desktop, since there is no Mac-->Mac sync via wifi, and I refuse to use a cloud sync. When there are duplicates on the desktop, and I copy the database to the laptop, the entries with duplicates on the desktop will result in an entry with NO "websites" on the laptop. This of course keeps me from using that entry to log in from my laptop. The cure is to go back to the desktop, edit out the duplicates, and recopy the database to the laptop. Then all is fine on both devices.

    Weird, no? Let me know if I can provide further information.

  • Hi @HenryAZ,

    That's actually an incredibly well done description. Thanks! :smile:

    I think in this case you were getting bit by a combination of bugs, most of which we've fixed, with another I plan on fixing today. When multiple fields within a section have the same name ("website"), in some rare scenarios that could lead to one of them getting duplicated. In the case of URLs specifically, we have additional code to avoid duplicates, and we try to clean them up during sync. But in some cases when a duplicate was found we were removing not just the duplicate but both values. If you're running the AgileStore version of 1Password, I would recommend that you switch to the 5.1 betas which has a lot of fixes for sync.

    It's hard to tell after the fact what caused what to happen, but I think I can envision exactly what you're describing happening due to the sync bugs I've worked on recently. Thank you for the description.

    Rick

  • HenryAZ
    HenryAZ
    Community Member

    Thanks Mike,

    That makes pretty much sense. I will forthwith add labels to my various web addresses, and see what that does. I will hold off on the betas until they are production releases. I am running the web site version.

    Thanks for your help.

  • Hi @HenryAZ‌,

    On behalf of Rick (we do have identical avatars, :D), you're welcome.

    We'll get 1Password 5.1 out as quickly as we can (with a lot of testing of course) as it does have a lot of nice little improvements.

This discussion has been closed.