-
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 2025-01-30] [$250] Invoice - "Hidden" name shown when creating invoice for non existing user #54211
Comments
Triggered auto assignment to @twisterdotcom ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Hidden user is shown when sending an invoice to a user we never chatted before. What is the root cause of that problem?I can't fully reproduce the issue. In my testing, the Hidden only shows on the header name. Based on the QA recording, looks like there is some BE problem too. When we send a new invoice to a user we never chatted before, we will optimistically create a new personal details for that user. Then, we get the invoice room name from the receiver account ID and the personal details list. Lines 3928 to 3930 in d86024e
However, the issue happens when the header is rendered before the personal details list optimistic data is merged. The But actually, on the HeaderView, we already subscribed to the personal details list Onyx using App/src/pages/home/HeaderView.tsx Line 77 in d86024e
App/src/pages/home/HeaderView.tsx Line 97 in d86024e
So, it should re-trigger Lines 3928 to 3930 in d86024e
So, even though the function is re-triggered, the What changes do you think we should make in order to solve the problem?Pass the personal details from the component to Lines 4084 to 4086 in d86024e
And use it here Lines 3916 to 3930 in d86024e
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?This requires a UI test where we need to assert that the HeaderView of invoice room title is updated when the personal detail is updated. |
Job added to Upwork: https://www.upwork.com/jobs/~021869525665327494178 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @jjcoffee ( |
Going Weekly over the holidays. |
@bernhardoj's proposal LGTM! I also can't replicate the random user showing up, so I think we can just focus on the optimistic part here. 🎀👀🎀 C+ reviewed |
Triggered auto assignment to @justinpersaud, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@justinpersaud @twisterdotcom @jjcoffee 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! |
Not overdue, just waiting for @justinpersaud to return from OOO. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
The PR is reverted because the unit test is flaky. I have opened a new PR reverting the revert and fix the unit test. cc: @jjcoffee |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.87-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 2025-01-28. 🎊 For reference, here are some details about the assignees on this issue:
|
@jjcoffee @twisterdotcom @jjcoffee 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] |
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.88-7 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 2025-01-30. 🎊 For reference, here are some details about the assignees on this issue:
|
@jjcoffee @twisterdotcom @jjcoffee 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] |
Waiting for tomorrow and also the BZ checklist. |
BugZero Checklist:
Bug classificationSource of bug:
Where bug was reported:
Who reported the bug:
Regression Test ProposalPrecondition:
Test:
Do we agree 👍 or 👎 |
Payment Summary
BugZero Checklist (@twisterdotcom)
|
Payment Summary:
|
Requested in ND. |
$250 approved for @bernhardoj |
$250 approved for @jjcoffee |
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: v9.0.76-6
Reproducible in staging?: Yes
Reproducible in production?: No
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: N/A
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team
Device used: Windows 10 / Chrome
App Component: Other
Action Performed:
Expected Result:
After creating the invoice, The user name should be the email as the account is non existing
Actual Result:
The user name shows "Hidden" at first
After navigating to the invoice and go back, the "Hidden" changed to random user name
Workaround:
Unknown
Platforms:
Screenshots/Videos
bug.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @twisterdotcomThe text was updated successfully, but these errors were encountered: