-
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
[HOLD for payment 2023-10-12] [HOLD for payment 2023-10-10] [$500] Android- IOU-App crashes when saving the selected date & merchant/date field not shown #28690
Comments
Triggered auto assignment to @puneetlath ( |
Job added to Upwork: https://www.upwork.com/jobs/~014620b7473ef96d10 |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mollfpr ( |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
|
Current assignee @puneetlath is eligible for the Engineering assigner, not assigning anyone new. |
Production video Screen_Recording_20231003_123400_New.Expensify.mp4 |
ProposalPlease re-state the problem that we are trying to solve in this issue.App crashes when updating the date IOU What is the root cause of that problem?This issue was introduced from PR Lines 1633 to 1637 in 53ee975
Because The reason App/src/components/ReportActionItem/MoneyRequestView.js Lines 85 to 94 in 53ee975
We get date here: App/src/libs/TransactionUtils.ts Lines 257 to 262 in 53ee975
The problem is that it returns empty even though App/src/libs/TransactionUtils.ts Line 258 in 53ee975
The reason is that the nullish coalescing operator (??) will only return the value on the right if the value on the left is null or undefined. In this case, transaction?.modifiedCreated is an empty string "", but is not null or undefined, so it does not trigger the ?? operator. Instead, it returns the value of transaction?.modifiedCreated, i.e. "". What changes do you think we should make in order to solve the problem?We should update the
Or const created = transaction?.modifiedCreated || transaction?.created || ''; What alternative solutions did you explore? (Optional)N/A |
@namhihi237 Since this is a deploy blocker. Please link the offending PR |
@namhihi237 Great!
I like this more, can you please raise a PR? Also this null coallescing logic might have been worng for other modified fields, lets make sure that is fixed too Can you raise a PR now? |
📣 @mollfpr 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @namhihi237 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@mountiny yes I will raise PR asap. |
📣 @aimane-chnaif 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
🎯 ⚡️ Woah @aimane-chnaif / @namhihi237, great job pushing this forwards! ⚡️ The pull request got merged within 3 working days of assignment, so this job is eligible for a 50% #urgency bonus 🎉
On to the next one 🚀 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.76-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 2023-10-10. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
For reference, here are some details about the assignees on this issue:
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.77-7 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 2023-10-12. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
For reference, here are some details about the assignees on this issue:
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
@aimane-chnaif friendly reminder for checklist. |
|
@puneetlath, @mountiny, @namhihi237, @aimane-chnaif Whoops! This issue is 2 days overdue. Let's get this updated quick! |
All paid. Thanks everyone! |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
3.Tap request money
Expected Result:
App must not crash when user saves the selected date. Merchant and date field must be shown.
Actual Result:
App crashes when user saves the selected date. Merchant and date field is not shown.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.76-0
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Bug6222780_1696309566697.ancrash.mp4
utest-dl.s3.amazonaws.com_12102_26469_432782_6222780_bugAttachment_Bug6222780_1696309387236%21crash.txt_X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20231003T081930Z&X-Amz-SignedHeaders=host&X-Amz-Expires=86400&X-Amz-Credential=AKIAJ.txt
Expensify/Expensify Issue URL:
Issue reported by: Applause-Internal Team
Slack conversation: @
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: