Closed
Bug 1144571
Opened 9 years ago
Closed 9 years ago
First bookmark is the last one (Cut - Paste).
Categories
(Toolkit :: Places, defect)
Tracking
()
People
(Reporter: look997, Assigned: mak)
References
Details
(Keywords: regression)
Attachments
(1 file, 1 obsolete file)
4.93 KB,
patch
|
ttaubert
:
review+
Sylvestre
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Windows NT 6.1; rv:36.0) Gecko/20100101 Firefox/36.0 Build ID: 20150305021524 Steps to reproduce: I cut several bookmarks. Paste the bookmark to another empty folder. Actual results: First bookmark is the last one. The rest is in the normal order. Before: Folder1 -bookmark1 -bookmark2 -bookmark3 -bookmark4 Folder2[empty] After: Folder1[empty] Folder2 -bookmark2 -bookmark3 -bookmark4 -bookmark1 Expected results: First bookmark is the first one. The rest is in the normal order. Before: Folder1 -bookmark1 -bookmark2 -bookmark3 -bookmark4 Folder2[empty] After: Folder1[empty] Folder2 -bookmark1 -bookmark2 -bookmark3 -bookmark4
The same happens with the: https://developer.mozilla.org/en-US/Add-ons/SDK/Low-Level_APIs/places_bookmarks
Comment 2•9 years ago
|
||
Pushlog: https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=b00bdb144e06&tochange=a084c4cfd8a1 Suspect: 6ef192784187 Asaf Romano — Bug 1067954 - Async Places Transactions: Paste functionality. r=mak
Blocks: 1067954
Status: UNCONFIRMED → NEW
Component: Bookmarks & History → Places
Ever confirmed: true
Keywords: regression
Product: Firefox → Toolkit
Version: 36 Branch → 35 Branch
Assignee | ||
Comment 3•9 years ago
|
||
Mano could you please verify this is working properly in the new PT code?
Flags: needinfo?(mano)
Assignee | ||
Comment 4•9 years ago
|
||
I think the problem in the legacy code is: let insertionIndex = ip.index + i; should be let insertionIndex = ip.index; But I'm not sure why this was changed and why it differs from the new code. We clearly need a test here.
Points: --- → 3
Flags: qe-verify-
Flags: in-testsuite?
Flags: firefox-backlog+
Assignee | ||
Updated•9 years ago
|
status-firefox36:
--- → wontfix
status-firefox37:
--- → affected
status-firefox38:
--- → affected
status-firefox39:
--- → affected
Assignee | ||
Comment 5•9 years ago
|
||
I'm taking this regression fix
Assignee: nobody → mak77
Flags: needinfo?(mano)
Updated•9 years ago
|
Status: NEW → ASSIGNED
Iteration: --- → 39.2 - 23 Mar
Updated•9 years ago
|
Iteration: 39.2 - 23 Mar → 39.3 - 30 Mar
Assignee | ||
Comment 6•9 years ago
|
||
This was an unintended change, the test will ensure we don't regress it again.
Attachment #8584559 -
Flags: review?(ttaubert)
Assignee | ||
Comment 7•9 years ago
|
||
oops, the timeouts were not expected to be there.
Attachment #8584559 -
Attachment is obsolete: true
Attachment #8584559 -
Flags: review?(ttaubert)
Attachment #8584560 -
Flags: review?(ttaubert)
Updated•9 years ago
|
Attachment #8584560 -
Flags: review?(ttaubert) → review+
Assignee | ||
Comment 8•9 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/b7a9b5a6983b
Flags: in-testsuite? → in-testsuite+
Target Milestone: --- → mozilla39
Assignee | ||
Updated•9 years ago
|
Comment 9•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/b7a9b5a6983b
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 10•9 years ago
|
||
Comment on attachment 8584560 [details] [diff] [review] patch v1.1 Approval Request Comment [Feature/regressing bug #]: bug 1067954 [User impact if declined]: pasting multiple bookmarks messes up their order [Describe test coverage new/current, TreeHerder]: automated test [Risks and why]: very low risk, restoring code as it was before unintended change [String/UUID change made/needed]: none
Attachment #8584560 -
Flags: approval-mozilla-aurora?
Assignee | ||
Comment 11•9 years ago
|
||
Note, the approval is for FF38, if we merge before the approval, it will be beta, not aurora.
Updated•9 years ago
|
Attachment #8584560 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
You need to log in
before you can comment on or make changes to this bug.
Description
•