-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Due for payment 2025-02-19] [Due for payment 2025-02-18] Android & iOS - Reports - App crashes when tapping Filters icon after opening View transactions from card page #56519
Comments
Triggered auto assignment to @madmax330 ( |
Triggered auto assignment to @alexpensify ( |
💬 A slack conversation has been started in #expensify-open-source |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
Not repro on production screen-20250207-095051.mp4 |
ProposalPlease re-state the problem that we are trying to solve in this issue.App crashes. What is the root cause of that problem?After deactivating the card, Line 329 in 33a03bf
Line 85 in 33a03bf
What changes do you think we should make in order to solve the problem?We can also return early if Lines 81 to 83 in 33a03bf
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?NA What alternative solutions did you explore? (Optional)Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Android & iOS - Reports - App crashes when tapping Filters icon after opening View transactions from card page What is the root cause of that problem?As we can see from the error In line 219, we're trying to convert the cardID property to string which doesn't exist in card value which cause the app to crash App/src/pages/Search/AdvancedSearchFilters.tsx Lines 217 to 219 in e7b38b9
The card value is taken from here App/src/pages/Search/AdvancedSearchFilters.tsx Lines 103 to 105 in e7b38b9
And getTitle is invoked that cardList is passed here App/src/pages/Search/AdvancedSearchFilters.tsx Lines 482 to 486 in e7b38b9
And allCards value is taken from In Lines 101 to 110 in e7b38b9
Lines 114 to 116 in e7b38b9
What changes do you think we should make in order to solve the problem?We should filter the card like we do for workspace card feeds Object.keys(cardList).forEach((cardKey) => {
const card = cardList[cardKey];
if (shouldExcludeCardHiddenFromSearch && isCardHiddenFromSearch(card) || !isCard(card)) {
return;
}
feedCards[cardKey] = card;
}); What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?We should create a test function an pass a cardList without a cardID and make sure the What alternative solutions did you explore? (Optional) |
Please assign me to this one and I can fix it, we had done a lot of work with Search and card filters |
Unable to auto-create job on Upwork. The BZ team member should create it manually for this issue. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @suneox ( |
Assigning for C+ review first. |
Hey @Kicu, assigned. Thanks. I also directly assigned @ikevin127 for C+ as he is online |
Fix on staging |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.95-6 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2025-02-18. 🎊 For reference, here are some details about the assignees on this issue:
|
@ikevin127 @alexpensify @ikevin127 The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
went super smooth 👍 |
BugZero Checklist:
Bug classificationSource of bug:
Where bug was reported:
Who reported the bug:
Regression Test ProposalPrecondition: User is workspace owner and has assigned themselves a virtual card.
Do we agree 👍 or 👎. |
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.96-1 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2025-02-19. 🎊 For reference, here are some details about the assignees on this issue:
|
@ikevin127 @alexpensify @ikevin127 The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 9.0.95-0
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: Yes, reproducible on both
If this was caught during regression testing, add the test name, ID and link from TestRail: Exp
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team
Device used: Samsung Galaxy Z Fold 4 / Android 14
App Component: Search
Action Performed:
Precondition:
Expected Result:
App will not crash and Filters page will open.
Actual Result:
App crashes.
Workaround:
Unknown
Platforms:
Screenshots/Videos
https://github.com/user-attachments/assets/7f26cc8e-d4a5-429d-a2c0-8b75fc071ff3
Bug6735975_1738913614019!log.txt
View all open jobs on GitHub
Issue Owner
Current Issue Owner: @alexpensifyThe text was updated successfully, but these errors were encountered: