You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[HOLD for payment 2024-09-17][$250] Web - Concierge - Concierge in unavailable workspace when create new account #44480
BugSomething is broken. Auto assigns a BugZero manager.EngineeringExternalAdded to denote the issue can be worked on by a contributorReviewingHas a PR in reviewWeeklyKSv2
Version Number: 9.0.2-0 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 Email or phone of affected tester (no customers):gocemate+a444@gmail.com Issue reported by: Applause - Internal Team
Action Performed:
Go to staging.new.expensify.com
Login with a new Gmail account
Complete the onboarding modal requests
Take a look at the Concierge chat header
Expected Result:
There should be only Concierge label on Concierge chat header
Actual Result:
"Concierge in unavailable workspace" can be seen on the Concierge chat header after creating a new account
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
@sakluger 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
changed the title [-]Web - Concierge - Concierge in unavailable workspace when create new account[/-][+][$250] Web - Concierge - Concierge in unavailable workspace when create new account[/+]on Jun 28, 2024
Within the getPolicyName function, when there report has no policies (This happens when it's a new user), we don't respect the returnEmptyIfNotFound flag.
changed the title [-][$250] Web - Concierge - Concierge in unavailable workspace when create new account[/-][+][HOLD for payment 2024-09-17][$250] Web - Concierge - Concierge in unavailable workspace when create new account[/+]on Sep 20, 2024
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
[@allgandalf] The PR that introduced the bug has been identified. Link to the PR:
[@allgandalf] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
[@allgandalf] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
[@allgandalf] Determine if we should create a regression test for this bug.
[@allgandalf] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
[@sakluger] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:
A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion: N/A
If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
Regression Test Proposal
Login with a new Gmail account
Complete the onboarding modal requests
Take a look at the Concierge chat header
Verify that there is only Concierge label on Concierge chat header
BugSomething is broken. Auto assigns a BugZero manager.EngineeringExternalAdded to denote the issue can be worked on by a contributorReviewingHas a PR in reviewWeeklyKSv2
Activity
melvin-bot commentedon Jun 26, 2024
Triggered auto assignment to @sakluger (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.lanitochka17 commentedon Jun 26, 2024
@sakluger 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
[-]Web - Concierge - Concierge in unavailable workspace when create new account[/-][+][$250] Web - Concierge - Concierge in unavailable workspace when create new account[/+]melvin-bot commentedon Jun 28, 2024
Job added to Upwork: https://www.upwork.com/jobs/~013152861e0170f045
melvin-bot commentedon Jun 28, 2024
Triggered auto assignment to Contributor-plus team member for initial proposal review - @allgandalf (
External)jainilparikh commentedon Jun 30, 2024
Edited by proposal-police: This proposal was edited at 2024-08-15 07:29:48 UTC.
Proposal
Please re-state the problem that we are trying to solve in this issue.
'Unavailable workspace ' appears when a User attempts to login with a fresh Gmail account.
What is the root cause of that problem?
Within
HeaderView.tswe invoke 1getPolicyName function to get the sub-heading. Note: We send true forreturnEmptyIfNotFoundflag.https://github.com/Expensify/App/blob/main/src/pages/home/HeaderView.tsx#L113
Within the
getPolicyNamefunction, when there report has no policies (This happens when it's a new user), we don't respect thereturnEmptyIfNotFoundflag.https://github.com/Expensify/App/blob/main/src/libs/ReportUtils.ts#L745
What changes do you think we should make in order to solve the problem
Replace
With
The
noPolicyFoundvariable (link) take's care of respecting thereturnEmptyIfNotFoundflag.86 remaining items
wildan-m commentedon Sep 5, 2024
@allgandalf The PR is ready #48621
mvtglobally commentedon Sep 9, 2024
Issue not reproducible during KI retests. (Second week)
mvtglobally commentedon Sep 13, 2024
Issue not reproducible during KI retests. (Third week)
allgandalf commentedon Sep 15, 2024
Can you add payment awaiting label here @sakluger , the PR hit production long back
[-][$250] Web - Concierge - Concierge in unavailable workspace when create new account[/-][+][HOLD for payment 2024-09-17][$250] Web - Concierge - Concierge in unavailable workspace when create new account[/+]sakluger commentedon Sep 20, 2024
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
sakluger commentedon Sep 20, 2024
Summarizing payment on this issue:
Contributor: @wildan-m $250, paid via Upwork
Contributor+: @allgandalf $250, paid via Upwork
allgandalf commentedon Sep 21, 2024
Regression Test Proposal
Do we agree 👍 or 👎
sakluger commentedon Sep 26, 2024
Thanks!