-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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] Track- Error appears when Submit expense to someone #45086
Comments
Triggered auto assignment to @alexpensify ( |
@alexpensify FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors |
This one is on my testing list. I'll review it soon. |
@alexpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
No update, I'll test soon |
Other GHs have been a priority, I'll review soon |
Job added to Upwork: https://www.upwork.com/jobs/~01408041e16e8fde12 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @Pujan92 ( |
We need proposals here. |
@alexpensify @Pujan92 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! |
Open for proposals here |
^^ I agree with that |
I don't think it matters to the person that is getting the expense submitted to them, but for the person that created the tracked expense it might be nice to see that this tracked expense has been updated and is now being submitted to someone. Though I don't feel that strongly so if you want we can remove the reportAction that gets added when the expense is moved |
@pasyukevich—The team has replied with feedback. Do you have enough information to continue with the PR, or should we have a larger discussion in the Open Source Slack room? Thanks for the update! |
@alexpensify I am not sure, still investigating the exact reason - A larger discussion will be helpful I've found on the android a few different flows of this problem:
I'm focused on the 2nd case as it reproduces only on the Android constantly (1st - floating problem) It was hard to investigate the exact flow, since on the js level we always have the same error - [TypeError: Network request failed] (even if I've configured the logs from the native Android and network sides with exact errors - it is much easier to investigate the root cause |
Ok, I'll start one tomorrow. |
Coming from #48238. This error is caused by the
diff --git a/src/libs/actions/IOU.ts b/src/libs/actions/IOU.ts
index 29d48173779..4414d8221c7 100644
--- a/src/libs/actions/IOU.ts
+++ b/src/libs/actions/IOU.ts
@@ -3553,7 +3553,7 @@ function requestMoney(
createdChatReportActionID,
createdIOUReportActionID,
reportPreviewReportActionID: reportPreviewAction.reportActionID,
- receipt,
+ receipt: receipt && Object.keys(receipt).length === 0 ? undefined : receipt,
receiptState: receipt?.state,
category,
tag, This will only partially fix the issue as there are more places where a file is passed but the type is missing. |
I'm catching up from being OOO last week and will start the required discussion soon. |
No update |
Other GitHubs have been a priority, I'll get to this one soon. |
I've been sick this week and haven't been able to review this GitHub. There is no major update here; I'll try to carry on next week. |
I've rechecked the issue - it is still reproducible with the same logs |
No update |
@Pujan92 any update here? Thanks! |
This comment was marked as outdated.
This comment was marked as outdated.
I see the same error as @pasyukevich mentioned [Network] API request error: Connection interruption likely - "Network request failed" @pasyukevich, is there any update about why this error is being thrown? |
@al, this makes more sense as part of #convert since this is part of the bottom-up adoption workflow. |
@Pujan92 There are no updates, the latest one - #45086 (comment) |
See #45086 (comment) for why this happens |
@Pujan92 any thoughts about the feedback shared so far? Thanks! |
@CyberAndrii Thanks for the details and linked issues. Indeed the error is same with the other linked issues.
This(set receipt undefined if the object is empty) seems to fix the issue when I apply( Line 3383 in d78be88
My doubt is why an empty receipt object is causing this issue, is it raised from backend specifically for android or are we trying to upload a receipt image as it is not undefined? |
Update: Waiting for proposals or a proposal update |
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.5-3
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4704990&group_by=cases:section_id&group_order=asc&group_id=309130
Email or phone of affected tester (no customers): gocemate+a573@gmail.com
Action Performed:
Expected Result:
There should be no errors and submitted expense should be present on LHN and report
Actual Result:
Red dot and error appears after Submit expense to someone
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6536104_1720537021906.ae7d5.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: