-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
[$250] Android - Track expense - Error displayed when track distance expense in self DM #45605
Comments
Triggered auto assignment to @abekkala ( |
Job added to Upwork: https://www.upwork.com/jobs/~01a00f0f0391819080 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @rushatgabhane ( |
@abekkala, @rushatgabhane Whoops! This issue is 2 days overdue. Let's get this updated quick! |
ProposalProblem Statement Please re-state the problem that we are trying to solve in this issue:When a user tries to track distance expense in self DM, an error is displayed. Root Cause What is the root cause of that problem:The root cause of this problem is that the code is not properly handling the submission of distance expenses in Direct Messages. Proposed SolutionWhat changes do you think we should make in order to solve the problem: To solve this problem, I propose modifying the ExpenseList.js file to ensure that the map function is only called if expenses is defined and not undefined. Additionally, I suggest modifying the App.js file to properly handle the response from the server and add error handling. Changes What changes do you think we should make in order to solve the problem: In the ExpenseList.js file, replace the following line:
with:
In the App.js file, ensure that the fetchExpenses function is properly handling the response from the server. This may involve adding error handling or modifying the response parsing logic. Solution CodeHere is the code that can solve the problem: In the ExpenseList.js file:
In the App.js file:
|
@kabeer95 sorry I do not understand the root cause. Could you please elaborate it? |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@abekkala, @rushatgabhane Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@kabeer95 can you address the question above from @rushatgabhane and elaborate on your comment |
@abekkala, @rushatgabhane Still overdue 6 days?! Let's take care of this! |
@abekkala @rushatgabhane this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
@abekkala, @rushatgabhane 8 days overdue is a lot. Should this be a Weekly issue? If so, feel free to change it! |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@abekkala, @rushatgabhane 12 days overdue now... This issue's end is nigh! |
let's get this one retested |
This issue has not been updated in over 14 days. @abekkala, @rushatgabhane eroding to Weekly issue. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
this is for VSB which is on hold - closing |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 9.0.7.4
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team
Issue found whn executing PR #43819
Action Performed:
Expected Result:
There is no error after creating an expense, and the distance field shows the vlaue
Actual Result:
The distance field shows pending, and after some the error "Unexpected error submitting expense. Please try again later" is displayed
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6544115_1721144599207.video_2024-07-16_11-43-10.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @rushatgabhaneThe text was updated successfully, but these errors were encountered: