-
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-09-12] [$500] [Distance] - App crashes while using distance feature #26558
Comments
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
|
Triggered auto assignment to @hayata-suenaga ( |
Job added to Upwork: https://www.upwork.com/jobs/~014a7eeceb0e8a9b8a |
Current assignee @JmillsExpensify is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @fedirjh ( |
https://developers.google.com/maps/documentation/places/web-service/search-text#:~:text=A%20Text%20Search%20returns%20information,bias%20that%20has%20been%20set. We can use this API if we're planning to refetch lat & lng once back online. |
This requires backend changes |
I don't think so. Backend handles places API using in a proxy way. |
okay I feel like the easy fix for now is to disable the save button when offline... |
ProposalPlease re-state the problem that we are trying to solve in this issue.Distance - App crashes while using distance feature What is the root cause of that problem?lat & lng being null causing the What changes do you think we should make in order to solve the problem?App/src/pages/iou/WaypointEditor.js Line 197 in 7217a18
Setting false here will disable the save button in offline. What alternative solutions did you explore? (Optional)NA |
Warning Whole save button is causing the issue. But with a user perspective when he's online and typing he usually select only |
I have another fix |
But I think disable should work rn |
But I have another case in mind |
@shubham1206agra we have to launch few things tmrw. Maybe you can come up with a plan which can by solved by EOD. please mind today is sunday for us, tmrw is sunday for them. |
I am proposing removing these lines. App/src/pages/iou/WaypointEditor.js Lines 129 to 137 in 7217a18
And add this logic in validate if (isOffline && waypointValue !== '') {
errors[`waypoint${waypointIndex}`] = 'bankAccount.error.addressWhenOffline';
} |
It will look something like this. Text will be decided by @hayata-suenaga |
I will also add logic to disable Next button |
@mountiny i think we can go with normal process @hayata-suenaga also removed this deploy blocker due to this I'm removing the deploy blocker label per this instruction |
I agree, let's proceed with the normal deploy process. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.63-2 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-09-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:
|
I don't see the normal BZ checklist on this issue. @fedirjh Do you think we require any regression tests in light of the crash? |
Payment summary:
Offers are out. Let me know when you've accepted and we'll get this kicked off. |
@JmillsExpensify I believe we should require a regression test for this issue #26589, as it addresses the offline flow and should cover this crash.
Accepted. |
@JmillsExpensify, @pradeepmdk, @fedirjh, @hayata-suenaga Huh... This is 4 days overdue. Who can take care of this? |
@JmillsExpensify, @pradeepmdk, @fedirjh, @hayata-suenaga 6 days overdue. This is scarier than being forced to listen to Vogon poetry! |
do we have a regression test? |
@fedirjh here #26589 (comment) we are fixing here only the map is not loading when offline -> online on the web. if we need a regression test here can we take care here itself? |
Regression Test Proposal
|
The regression test proposal is above |
Great thanks. I'll issue payouts now and get a regression test created. |
All contributors paid out via Upwork. Regession test has also been created. Closing |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Issue found when executing PR #25980
Action Performed:
Expected Result:
The app must generate map for address entered
Actual Result:
In online, the app crashes while using distance feature
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.62-1
Reproducible in staging?: Yes
Reproducible in production?: No
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
Bug6186208_20230902_160813.mp4
test.mp4
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: