Closed Bug 907988 Opened 11 years ago Closed 11 years ago

Editing a bookmark does not update the item in view in the bookmarks tab

Categories

(Firefox for Android Graveyard :: Awesomescreen, defect)

26 Branch
ARM
Android
defect
Not set
normal

Tracking

(firefox26 fixed, firefox27 verified, fennec26+)

VERIFIED FIXED
Firefox 27
Tracking Status
firefox26 --- fixed
firefox27 --- verified
fennec 26+ ---

People

(Reporter: aaronmt, Assigned: sriram)

References

Details

(Keywords: regression)

Currently one can edit a bookmark (long-tap, edit) and any changes made are not shown in the listed item in the bookmarks tab on about:home. The view needs to be updated to reflect any changes.

One can confirm that changes are saved fine by querying for the
--
Nightly (08/21)
.. bookmark in the address-bar or via adding it as a thumbnail.
I am unable to reproduce this. I changed the title and could see it reflected in the list.
Try synced bookmarks? I can reproduce on those. I'm also renaming the bottom-most bookmark in the list and that doesn't work for me.

Using a Nexus 4 (4.3) and Galaxy SIV (4.3) same results, haven't tried any other device.
Assignee: nobody → sriram
tracking-fennec: ? → 26+
This happens when there are multiple entries with the same URL. When you long press and try to edit the last entry, the first entry having the same url is edited. We probably need some sort of filtering I guess.

@margaret: What shall we do here?
Flags: needinfo?(margaret.leibovic)
(In reply to Sriram Ramasubramanian [:sriram] from comment #5)
> This happens when there are multiple entries with the same URL. When you
> long press and try to edit the last entry, the first entry having the same
> url is edited. We probably need some sort of filtering I guess.
> 
> @margaret: What shall we do here?

I'd need to look into this more, but it sounds like we're using the wrong update query to edit the bookmark. We should update based on the bookmark id, and it sounds like we're just updating based on the URL.
Flags: needinfo?(margaret.leibovic)
Note, I added the ability to edit based on URL for the super toast option (i.e. we don't know which bookmark associated with this url is being editing in that case). Maybe we'd be better to allow editing a "group" of bookmarks in that case.

I think the only reason we allow multiple bookmarks with one url is when you've pinned something?
Multiple bookmarks with same url happens when you sync.
... I don't have a duplicate bookmark?
I could reproduce it only with duplicate bookmarks.
Is this reproducible with non-duplicate entries?
Flags: needinfo?(aaron.train)
Nope.
Flags: needinfo?(aaron.train)
Seems to be fixed with the patches in bug 917455.
Depends on: 917455
Bug 917455 has landed in m-c now. Closing.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 26
Target Milestone: Firefox 26 → Firefox 27
Bug 917455 has been uplifted to Aurora.
Status: RESOLVED → VERIFIED
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.