Closed
Bug 1144571
Opened 10 years ago
Closed 10 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)
(deleted),
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•10 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•10 years ago
|
||
Mano could you please verify this is working properly in the new PT code?
Flags: needinfo?(mano)
Assignee | ||
Comment 4•10 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•10 years ago
|
status-firefox36:
--- → wontfix
status-firefox37:
--- → affected
status-firefox38:
--- → affected
status-firefox39:
--- → affected
Assignee | ||
Comment 5•10 years ago
|
||
I'm taking this regression fix
Assignee: nobody → mak77
Flags: needinfo?(mano)
Updated•10 years ago
|
Status: NEW → ASSIGNED
Iteration: --- → 39.2 - 23 Mar
Updated•10 years ago
|
Iteration: 39.2 - 23 Mar → 39.3 - 30 Mar
Assignee | ||
Comment 6•10 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•10 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•10 years ago
|
Attachment #8584560 -
Flags: review?(ttaubert) → review+
Assignee | ||
Comment 8•10 years ago
|
||
Flags: in-testsuite? → in-testsuite+
Target Milestone: --- → mozilla39
Assignee | ||
Updated•10 years ago
|
Comment 9•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 10•10 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•10 years ago
|
||
Note, the approval is for FF38, if we merge before the approval, it will be beta, not aurora.
Updated•10 years ago
|
Attachment #8584560 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 12•10 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•