-
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 2024-11-20] [$250] Expense-"Hidden" appears in Members list when the workspace is created via Pay with Expensify #51524
Comments
Triggered auto assignment to @zanyrenney ( |
@zanyrenney 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 |
We think that this bug might be related to #wave-collect - Release 1 |
ProposalPlease re-state the problem that we are trying to solve in this issue.Hidden is shown in the workspace member after moving the expense to a new workspace. What is the root cause of that problem?When we select Business bank account as the payment method, we will optimistically create a new workspace based on the IOU report data. App/src/components/KYCWall/BaseKYCWall.tsx Lines 110 to 111 in 652d2ff
The problem is, we are trying to create the workspace member from the IOU report App/src/libs/actions/Policy/Policy.ts Line 2134 in 652d2ff
App/src/libs/actions/Policy/Policy.ts Lines 2184 to 2191 in 652d2ff
However, What changes do you think we should make in order to solve the problem?There was previously a plan to get the employee email from the personal detail, but I decided to just default it to an empty string because, at that time, the email wasn't really needed. Previously, the policy member is keyed by their accountID. So, the solution is to get the employee's email from the personal details data.
I don't think the personal detail login would be undefined, but we can avoid creating the employee optimistic data if |
Wave collect is closed, but adding this to expense. |
@zanyrenney Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Oops, i thought I added the external label here - my bad! |
Job added to Upwork: https://www.upwork.com/jobs/~021853396876299534935 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @hungvu193 ( |
on my list this week |
@bernhardoj How do you reproduce this issue? |
I just followed the OP steps and remove the currency check here so I can choose Pay with Expensfiy even without USD currency. App/src/components/SettlementButton/index.tsx Line 101 in afa7b33
|
I did the same thing but it navigates to Connect Bank Account flow page instead 🤔 Screen.Recording.2024-11-07.at.13.30.37.mov |
Hmm, that's weird. It should show a popover menu first to choose between business or personal bank account. From the code, you need to satisfy the condition to trigger App/src/components/SettlementButton/index.tsx Lines 186 to 201 in afa7b33
and this, inside App/src/components/KYCWall/BaseKYCWall.tsx Lines 156 to 175 in afa7b33
|
Nevermind, I can reproduce it with my brand new account 🤦 |
PR is ready cc: @hungvu193 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.60-3 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 2024-11-20. 🎊 For reference, here are some details about the assignees on this issue:
|
@hungvu193 @zanyrenney @hungvu193 The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
BugZero Checklist:
Bug classificationSource of bug:
Where bug was reported:
Who reported the bug:
Regression Test Proposal
Do we 👍 or 👎 ? |
Payment Summary
BugZero Checklist (@zanyrenney)
|
Requested in ND. |
@zanyrenney can you confirm the payment summary when you get a chance? |
sure thing @garrettmknight - sorry about the delay everyone. I was out yesterday. |
Regression test looks good - getting that added now. |
Closed job on upwork. Payment SummaryReviewer: @hungvu193 owed $250 via NewDot - please request via ND |
$250 approved for @bernhardoj |
$250 approved for @hungvu193 |
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.54-1
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/5134693
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause - Internal Team
Action Performed:
Precondition:
4/ [User B] Click Pay with Expensify
Expected Result:
There will be no "Hidden" member
Actual Result:
"Hidden" member appears in Members list when the workspace is created via Pay with Expensify in p2p expense
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6645865_1729878847118.20241026_014655.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @zanyrenneyThe text was updated successfully, but these errors were encountered: