Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

importing bookmarks after sync causes loss of hierarchy #8892

Closed
alexwykoff opened this issue May 16, 2017 · 7 comments
Closed

importing bookmarks after sync causes loss of hierarchy #8892

alexwykoff opened this issue May 16, 2017 · 7 comments

Comments

@alexwykoff
Copy link
Contributor

alexwykoff commented May 16, 2017

Test plan

#9406 (comment)


  • Did you search for similar issues before submitting this one?
    Yes

  • Describe the issue you encountered:
    I installed 0.15.304 on two different OS X laptops

  • Platform (Win7, 8, 10? macOS? Linux distro?):
    macOS

  • Brave Version (revision SHA):
    0.15.304 (b872523)

  • Steps to reproduce:

    1. with a clean profile for each, enable a new sync group on one device
    2. join the sync group with the other device
    3. import bookmarks on the primary device
  • Actual result:
    the folder hierarchy is lost versus if an import occurs without sync.

  • Expected result:
    the folder hierarchy should be maintained and the name should match the pattern 'imported from '

  • Will the steps above reproduce in a fresh profile? If not what other info can be added?
    yes

  • Is this an issue in the currently released version?
    likely

  • Can this issue be consistently reproduced?
    yes

  • Extra QA steps:
    1.
    2.
    3.

  • Screenshot if needed:

screen shot 2017-05-16 at 3 15 39 pm

  • Any related issues:
@benmordecai
Copy link

I have experienced this same problem in Windows 10 x64, 0.15.314

@alexwykoff
Copy link
Contributor Author

Confimed this is still an issue with 0.16.3:
laptop - laptop
laptop - iOS sync beta
laptop - android sync beta

@alexwykoff
Copy link
Contributor Author

This is a pretty serious blocker for mobile implementations of sync as they don't have easy ways to organize mass amounts of bookmarks.

@bsclifton
Copy link
Member

@diracdeltas do you think this can be solved for the 0.17.x release?

@diracdeltas
Copy link
Member

@bsclifton probably

@diracdeltas diracdeltas modified the milestones: 0.17.x (Frozen, only critical adds from here), 0.18.x Jun 7, 2017
@benmordecai
Copy link

There is also a coincident bug where you cannot reliably drag and drop bookmarks in the manager so if sync fails you have to manually move bookmarks from the bookmark toolbar. This makes a sync failure basically unworkable on desktop/laptop also.

@diracdeltas
Copy link
Member

diracdeltas commented Jun 12, 2017

the issue is that under certain timing conditions, the objectId property is set twice for a bookmarks folder, once in findOrCreateFolderObjectId when one of its children is being sent and once in createSiteData when it itself is being sent. the child ends up having a parentFolderObjectId that doesn't map to any object so it shows up at the top level.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.