bookmarking any website results in an invalid URL error
Categories
(Firefox for Android :: Bookmarks, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox149 | --- | fixed |
People
(Reporter: john.a.netherton, Assigned: segun)
References
Details
(Whiteboard: [fxdroid][group1])
Attachments
(3 files, 1 obsolete file)
User Agent: Mozilla/5.0 (Android 16; Mobile; rv:145.0) Gecko/145.0 Firefox/145.0
Steps to reproduce:
In Firefox on Android 145, tap the triple dot menu and tap bookmark page on any website with a bookmarkable URL.
Actual results:
All websites return a "invalid URL" error.
Expected results:
A bookmark created in the last folder a bookmark was created in of the URL I attempted to bookmark.
Disabled all extensions and reattempted to make a bookmark, error still occurs.
Comment 2•3 months ago
|
||
The severity field is not set for this bug.
:boek, could you have a look please?
For more information, please visit BugBot documentation.
Comment 3•3 months ago
|
||
Hi there, thanks for the report! I'm not able to reproduce this on nightly or release, so I'm tagging QA to see if they have better luck. Thanks for your help QA!
Looking at the code path, my first guess would be that there's an error in how we are saving the "last folder" the bookmark was created in. :Jon, could you try creating a new folder through the bookmarks screen first, and then saving a new bookmark from the browser screen?
Comment 4•3 months ago
|
||
Comment 5•3 months ago
|
||
Seems like this would also happen if the previously saved folder was deleted?
I created a subfolder called test in the bookmarks menu folder then tried to bookmark google.com again and got the invalid URL error once more. I then deleted the test folder and recreated it in the same place and bookmarked Google, and the bookmarking function started working again. It is defaulting to the bookmarks folder but I can edit it from there.
Comment 7•3 months ago
|
||
Hello! We weren’t able to reproduce this issue on the latest Nightly 148.0a1 (12.22.2025), Fenix 147.0b7, RC 146.0.1, or 145, using Google Pixel 10 (Android 16) and Samsung Galaxy S23 Ultra (Android 14).
@Jon, could you please share the device you used when reproducing this issue? Also, could you try to check whether the issue still reproduces on the latest Nightly with a fresh install?
Updated•3 months ago
|
(In reply to Adina Petridean QA [:apetridean] from comment #7)
Hello! We weren’t able to reproduce this issue on the latest Nightly 148.0a1 (12.22.2025), Fenix 147.0b7, RC 146.0.1, or 145, using Google Pixel 10 (Android 16) and Samsung Galaxy S23 Ultra (Android 14).
@Jon, could you please share the device you used when reproducing this issue? Also, could you try to check whether the issue still reproduces on the latest Nightly with a fresh install?
Samsung Galaxy S23 Ultra SM-918U1
Firefox 146.0.1 (Build #2016132551), 86bb7f6af6312ba3c0161085f854bcdff68f1a91
GV: 146.0.1-20251217121356
AS: 146.0.2
OS: Android 16
Error cannot be reproduced on my stable version after having created, deleted, and recreated a folder as mentioned above. I installed nightly 148.0a1 (Build #2016133663) and cannot reproduce the error using that build.
Comment 9•2 months ago
|
||
The severity field is not set for this bug.
:boek, could you have a look please?
For more information, please visit BugBot documentation.
Updated•2 months ago
|
Updated•2 months ago
|
Comment 10•2 months ago
|
||
The severity field is not set for this bug.
:boek, could you have a look please?
For more information, please visit BugBot documentation.
Comment 11•2 months ago
|
||
Updated•2 months ago
|
Comment 12•2 months ago
|
||
STR:
- Successfully save a bookmark in a custom folder.
- Delete that folder.
- Try and create a new bookmark with the star icon on the menu - it will try and save it in the now-deleted folder.
Updated•2 months ago
|
Updated•2 months ago
|
| Assignee | ||
Comment 13•2 months ago
|
||
Thanks Mark for the investigation and your patch. I'll take over this bug and add the tests
| Assignee | ||
Comment 14•2 months ago
|
||
Comment 15•2 months ago
|
||
Comment 16•2 months ago
|
||
Comment 17•2 months ago
|
||
Backed out for causing failures at MenuDialogMiddlewareTest.
Backout link: https://hg.mozilla.org/integration/autoland/rev/611d56005177
Push with failures: https://treeherder.mozilla.org/jobs?repo=autoland&resultStatus=testfailed%2Cbusted%2Cexception%2Cretry%2Cusercancel&revision=dcad8a3e9c9b06e7f724d982c08a9f5b14e7da1b
Failure log: https://treeherder.mozilla.org/logviewer?job_id=544997168&repo=autoland&task=AS7l5z5fR8GVSq3Biks7kw.0&lineNumber=5353
Comment 18•2 months ago
|
||
| Assignee | ||
Updated•2 months ago
|
Comment 19•2 months ago
|
||
Comment 20•2 months ago
|
||
| bugherder | ||
Description
•