Skip to content

META: Duplicate bookmarks causing issues #203

@jlbprof

Description

@jlbprof

I intend this to be more of a discussion than a specific bug.

A month ago or so, I got an error "missing children in folder" and it turned out there was a few duplicates in my bookmark list.

I had the same issue today, there were still duplicates in my bookmarks. They have been there all along. So sometimes duplicates can cause issues sometimes they don't.

So the discussion: What about a duplicate could cause that issue?

To solve this problem I wrote a Perl script that read and modified my bookmarks.html file (rather than the .xbel file as I originally thought it was the merge between what was in my browser and what was in the xbel file).

Once ALL duplicates were removed it synced.

So what about a duplicate remover in the extension, not as a regular option but perhaps as another option that could be clicked?

It would read all the local bookmarks in a tree, and descends it looking for duplicates. My perl script used the URL as the key for finding a duplicate, but the title might trigger it also. After removing the duplicates from the tree it would rewrite it out to the bookmarks in the browser.

How hard would that be?

Is that a good idea?

Another way this could be addressed if the console log when the error occurs prints out the information about the folder or bookmark it is tripping on. I looked at the console output and it shows the id of the folder or bookmark but not the title or url that I could search for in the bookmarks manager. Some better output may work as well.

Thanx

Julian

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions