-
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
[hold for payment 2024-08-26] [$250] Split - Unable to split expense with workspace via FAB #47159
Comments
Triggered auto assignment to @grgia ( |
👋 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:
|
We think that this bug might be related to #vip-split |
Edited by proposal-police: This proposal was edited at {current_timestamp}. ProposalPlease re-state the problem that we are trying to solve in this issue.Can't split bill with workspace from FAB. What is the root cause of that problem?When we split bill with a workspace from FAB, we create a new workspace chat even though there is already a workspace chat. The reason we create a new workspace is because the existing chat report ID below is empty, so Lines 3812 to 3814 in db669c4
Previously, the logic look like this:
When we split bill from FAB, But now, we use What changes do you think we should make in order to solve the problem?Based on the commit message, we don't want an undefined
That's why we fall back again to an empty string. But we shouldn't use ?? specifically for
So, to fix this, we should change
Btw, I think we should fall back to -1 or just let it be undefined again. If it's an empty string, then the report onyx key will be Line 3817 in db669c4
I think the reason we don't want the
And because the report object is not undefined, the logic thinks that it found an existing report, even though it doesn't. Lines 3820 to 3828 in db669c4
To fix this, we can check for the
|
Job added to Upwork: https://www.upwork.com/jobs/~01fde995cf07525892 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @hoangzinh ( |
@hoangzinh could you assess the proposal, I think we can assign @bernhardoj |
@grgia Did you mean to remove the App blocker? Looks like this is a FE issue |
Current assignee @grgia is eligible for the DeployBlockerCash assigner, not assigning anyone new. |
👋 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:
|
@bernhardoj because we're getting the report from an array, therefore if it's an empty string, it won't return any data, will it? Lines 3816 to 3817 in 93dc1c9
Btw, I think it's safer if we check |
That's a good idea. I remember we did that before, but it was changed in this PR |
Oh my bad, it's an object.
It appears that there is a commit 1443b26 from that PR to fix disabling Eslint comment. Btw, because it's a DB, I'm happy with either way @bernhardoj's proposal #47159 (comment) looks good to me 🎀👀🎀 C+ reviewed |
Current assignee @grgia is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
@bernhardoj if you could please make this fix a priority, that would be great! |
Triggered auto assignment to @joekaufmanexpensify ( |
PR is ready cc: @hoangzinh |
PR merged! |
Hmm, automation did not work here. This went out to prod over a week ago, so payment is due now. Will tackle payment in the next day or so! |
BugZero Checklist:
|
Sounds good. TY! |
All set to issue payment here. We need to pay:
|
@hoangzinh $250 sent and contract ended! |
Upwork job closed. |
Closing as only thing left here is for @bernhardoj to request payment via NewDot! |
Requested in ND. |
$250 approved for @bernhardoj |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 9.0.18-7
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
The expense is split in the workspace chat
Actual Result:
User is unable to split expense with workspace via FAB
App opens a report with RBR on LHN and the report shows infinite skeleton after splitting expense with workspace via FAB
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6566625_1723204349146.20240809_194957.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @hoangzinhThe text was updated successfully, but these errors were encountered: