Closed
Bug 634401
Opened 13 years ago
Closed 13 years ago
Bookmark sync: use nsINavBookmarksService::moveItem, not setItemIndex
Categories
(Firefox :: Sync, defect)
Firefox
Sync
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
blocking2.0 | --- | - |
People
(Reporter: philikon, Assigned: mak)
References
Details
(Whiteboard: [qa-])
Attachments
(1 file)
1.36 KB,
patch
|
philikon
:
review+
beltzner
:
approval2.0+
|
Details | Diff | Splinter Review |
From bug 626341 comment 18: > Yes, setItemIndex is a sucky method, it's faster than moveItem (we use it > for sorting) but can cause any sort of issues if it doesn't sort all of > the children of a folder, because it's point-n-shoot like Duck Hunt game. > Unfortunately we missed the train to drop it, but I'd guess we can still > mark it as deprecated now and fix sorting in FX5.
Reporter | ||
Comment 1•13 years ago
|
||
Marco has a first patch in bug 626341, but I asked him to split the Sync portion off and attach it here, particularly because we would have to land this in 1.6.x as well.
Assignee: nobody → mak77
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•13 years ago
|
||
good, It could even be simpler to move along with splitted patches. I have a hardblocker to fix first, but won't take long.
Assignee | ||
Comment 3•13 years ago
|
||
This is the basic safe approach discussed, could be done in a more efficient way, but I don't feel challenging reparenting now. I've run tests in services/sync/tests/unit/ and I've not noticed any failure.
Attachment #512676 -
Flags: review?(philipp)
Reporter | ||
Comment 4•13 years ago
|
||
Comment on attachment 512676 [details] [diff] [review] patch v1.0 I can land this in fx-sync and then do the merging to places/m-c once this gets approval.
Attachment #512676 -
Flags: review?(philipp) → review+
Updated•13 years ago
|
Attachment #512676 -
Flags: approval2.0+
Assignee | ||
Comment 6•13 years ago
|
||
Philipp, I leave landing and merging to you.
Reporter | ||
Comment 7•13 years ago
|
||
Landed in fx-sync: 1.6.x: https://hg.mozilla.org/services/fx-sync/rev/1b2c8fa446d4 default: https://hg.mozilla.org/services/fx-sync/rev/8e6ddf8717f6
Whiteboard: [fixed in fx-sync]
Reporter | ||
Comment 8•13 years ago
|
||
Merged to places: http://hg.mozilla.org/projects/places/rev/90162df434df
Whiteboard: [fixed in fx-sync] → [fixed in fx-sync][fixed in places]
Reporter | ||
Comment 9•13 years ago
|
||
Merged to m-c: http://hg.mozilla.org/mozilla-central/rev/90162df434df
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: [fixed in fx-sync][fixed in places]
Updated•13 years ago
|
Whiteboard: [qa-]
Updated•6 years ago
|
Component: Firefox Sync: Backend → Sync
Product: Cloud Services → Firefox
You need to log in
before you can comment on or make changes to this bug.
Description
•