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
Workspace - "Company address" shows up for employee when it is not set up #41506
Version Number: 1.4.70-0 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): Logs:https://stackoverflow.com/c/expensify/questions/4856 Expensify/Expensify Issue URL: Issue reported by: Applause internal team Slack conversation:
Action Performed:
Precondition:
User is an employee of a workspace.
Company address is not set up for that workspace,
Go to staging.new.expensify.com
Go to Account settings > Workspaces.
Go to the invited workspace.
Expected Result:
"Company address" will not show up for employee if it is not set up.
Actual Result:
"Company address" shows up for employee when it is not set up.
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
👋 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:
Identify the pull request that introduced this issue and revert it.
@mallenexpensify 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
Please re-state the problem that we are trying to solve in this issue.
Workspace - "Company address" shows up for employee when it is not set up
What is the root cause of that problem?
The main problem with issue is that we have incorrect condition for Company address
What changes do you think we should make in order to solve the problem?
If I understand correctly, we must update the condition in such a way that we can see this field when there is an address or we are admins
But we can only edit with admin permission
To fix this issue we can update this component like
Activity
melvin-bot commentedon May 2, 2024
Triggered auto assignment to @stitesExpensify (
DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.melvin-bot commentedon May 2, 2024
Triggered auto assignment to @mallenexpensify (
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.github-actions commentedon May 2, 2024
👋 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:
m-natarajan commentedon May 2, 2024
@mallenexpensify 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
suneox commentedon May 2, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
Workspace - "Company address" shows up for employee when it is not set up
What is the root cause of that problem?
We only check the permission to show the company address at this line but policy address is not set up yet
What changes do you think we should make in order to solve the problem?
We should check
canUseSpotnanaTravelandpolicy.addressto show optionWhat alternative solutions did you explore? (Optional)
ZhenjaHorbach commentedon May 2, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
Workspace - "Company address" shows up for employee when it is not set up
What is the root cause of that problem?
The main problem with issue is that we have incorrect condition for Company address
What changes do you think we should make in order to solve the problem?
If I understand correctly, we must update the condition in such a way that we can see this field when there is an address or we are admins
But we can only edit with admin permission
To fix this issue we can update this component like
App/src/pages/workspace/WorkspaceProfilePage.tsx
Lines 224 to 239 in d03b4b9
What alternative solutions did you explore? (Optional)
NA
5 remaining items
smelaa commentedon May 7, 2024
Hi, I am Aleksandra Smela from Software Mansion, an expert agency and I can work on this issue. I am also the author of #38381
melvin-bot commentedon May 7, 2024
Current assignee @mallenexpensify is eligible for the Bug assigner, not assigning anyone new.
melvin-bot commentedon May 15, 2024
@francoisl, @mallenexpensify, @smelaa Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
francoisl commentedon May 15, 2024
The PR was deployed to production 3 days ago, all done here.