Snackbar crash from using `first`
Categories
(Firefox for Android :: Bookmarks, defect)
Tracking
()
People
(Reporter: matt-tighe, Assigned: matt-tighe)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fxdroid][group1])
Attachments
(2 files)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-beta+
|
Details | Review |
java.util.NoSuchElementException: Collection contains no element matching the predicate.
at org.mozilla.fenix.library.bookmarks.ui.BookmarksStateKt.undoSnackbarText(BookmarksState.kt:183)
offending line:
val title = this.bookmarkItems.first { it.guid == state.guidsToDelete.first() }.title
Updated•11 months ago
|
Comment 1•11 months ago
|
||
Is the severity for this bug correct?
https://wiki.mozilla.org/BMO/UserGuide/BugFields#bug_severity
S1 (Catastrophic) Blocks development/testing, may impact more than 25% of users, causes data loss, likely dot release driver, and no workaround available
Assignee | ||
Comment 2•11 months ago
•
|
||
Nope! I assumed any crasher would be S1 but this won't be live code (behind Nimbus) until after it's fixed. Lowering the severity
Assignee | ||
Updated•11 months ago
|
Assignee | ||
Comment 3•11 months ago
|
||
Updated•11 months ago
|
Comment 5•11 months ago
|
||
Backed out 4 changesets (Bug 1922134, Bug 1922140, Bug 1922137, Bug 1922701) for causing fenix failures on BookmarksReducerTest.
Failure log: https://treeherder.mozilla.org/logviewer?job_id=477458132&repo=autoland
Backout link: https://hg.mozilla.org/integration/autoland/rev/e2a5988f2ba0cb142052882d153f55559d32d436
Assignee | ||
Comment 6•11 months ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D224563
Updated•11 months ago
|
Comment 7•11 months ago
|
||
beta Uplift Approval Request
- User impact if declined: Bookmarks MVP + 1 does not ship in 132
- Code covered by automated testing: yes
- Fix verified in Nightly: yes
- Needs manual QE test: no
- Steps to reproduce for manual QE testing: N/A
- Risk associated with taking this patch: None
- Explanation of risk level: - feature is behind a nimbus flag and can be rolled back if bugs found
- String changes made/needed: None
- Is Android affected?: yes
![]() |
||
Comment 9•11 months ago
|
||
bugherder |
Updated•11 months ago
|
Comment 10•11 months ago
|
||
uplift |
Updated•11 months ago
|
Comment 11•11 months ago
|
||
Verified that Fenix Nightly 133.0a1 from 10/13 does not crash
- while saving a page as a bookmark, and tapping on "Edit", or
- when deleting a bookmark, and tapping on "Undo".
Tested with Realme GT Master Edition (Android 13), and a Samsung Galaxy Tab S9 Ultra (Android 14).
I am unable to also verify on Beta, because the "Enable compose bookmarks" is not available yet in Beta 132.0b6.
Comment 12•10 months ago
|
||
Verified also on Fenix Beta 132.0b8 with Google Pixel 6 (Android 15), and Oppo Find X3 Lite (Android 11).
Description
•