You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[HOLD for payment 2023-09-12] [$500] [Distance] - App crashes while using distance feature #26558
👋 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:
Identify the pull request that introduced this issue and revert it.
changed the title [-]Distance - App crashes while using distance feature[/-][+][$500] Distance - App crashes while using distance feature[/+]on Sep 3, 2023
This issue only happens only when we click on Save button. Because we've wrapped the WaypointEditor component with a From when we click on save only string get's saved. No lat & lognitude is being saved.
If we're offline we save lat & lag as null which is causing the app to crash. We seems to handle the null values but not the app though.
So What I want to confirm is even if we go online because we've saved lat & lan as null or 0 route markers won't be pointed which results in no route paint on the map.
what shall we do here? when user become online fetch the lat & lng for the waypoints which have lat & lng null values??
if not doesn't that cause an issue itself??.
This save button also raises an issue flow follows this way
Open Requst Money
Select a waypoint from the autocomplete input
Select the same waypoint but now use the save button
Select finish address
Observe only one marker is showing in the app (Finish marker since we have lat & lng for the waypoint).
Whenever we click on Save there's no lat & lng.
Shall we just remove the save button?? That reduces the 90% of effort.
Activity
OSBotify commentedon Sep 2, 2023
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
StagingDeployCashdeploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:melvin-bot commentedon Sep 2, 2023
Triggered auto assignment to @hayata-suenaga (
Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.[-]Distance - App crashes while using distance feature[/-][+][$500] Distance - App crashes while using distance feature[/+]melvin-bot commentedon Sep 3, 2023
Job added to Upwork: https://www.upwork.com/jobs/~014a7eeceb0e8a9b8a
melvin-bot commentedon Sep 3, 2023
Current assignee @JmillsExpensify is eligible for the External assigner, not assigning anyone new.
melvin-bot commentedon Sep 3, 2023
Triggered auto assignment to Contributor-plus team member for initial proposal review - @fedirjh (
External)b4s36t4 commentedon Sep 3, 2023
This issue only happens only when we click on
Savebutton. Because we've wrapped theWaypointEditorcomponent with aFromwhen we click on save only string get's saved. No lat & lognitude is being saved.If we're offline we save lat & lag as null which is causing the app to crash. We seems to handle the null values but not the app though.
So What I want to confirm is even if we go online because we've saved lat & lan as
nullor0route markers won't be pointed which results in no route paint on the map.what shall we do here? when user become online fetch the lat & lng for the waypoints which have lat & lng null values??
if not doesn't that cause an issue itself??.
This save button also raises an issue flow follows this way
Open Requst Money
Select a waypoint from the autocomplete input
Select the same waypoint but now use the save button
Select finish address
Observe only one marker is showing in the app (Finish marker since we have lat & lng for the waypoint).
Whenever we click on
Savethere's no lat & lng.Shall we just remove the save button?? That reduces the 90% of effort.
53 remaining items
JmillsExpensify commentedon Sep 13, 2023
Payment summary:
Offers are out. Let me know when you've accepted and we'll get this kicked off.
fedirjh commentedon Sep 13, 2023
@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.
melvin-bot commentedon Sep 18, 2023
@JmillsExpensify, @pradeepmdk, @fedirjh, @hayata-suenaga Huh... This is 4 days overdue. Who can take care of this?
melvin-bot commentedon Sep 20, 2023
@JmillsExpensify, @pradeepmdk, @fedirjh, @hayata-suenaga 6 days overdue. This is scarier than being forced to listen to Vogon poetry!
hayata-suenaga commentedon Sep 21, 2023
do we have a regression test?
pradeepmdk commentedon Sep 22, 2023
@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?
fedirjh commentedon Sep 22, 2023
Regression Test Proposal
hayata-suenaga commentedon Sep 25, 2023
The regression test proposal is above
JmillsExpensify commentedon Sep 25, 2023
Great thanks. I'll issue payouts now and get a regression test created.
JmillsExpensify commentedon Sep 25, 2023
All contributors paid out via Upwork. Regession test has also been created. Closing