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-07-17] Categories - The subtitle under "Members must categorize all expenses" contains "undefined" #44826
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2EngineeringExternalAdded to denote the issue can be worked on by a contributor
Version Number: 9.0.4-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: 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:
Go to staging.new.expensify.com
Go to workspace settings > Categories.
Click Settings.
Expected Result:
The subtitle under "Members must categorize all expenses" will not contain "undefined".
Actual Result:
The subtitle under "Members must categorize all expenses" contains "undefined".
"Require a category on every expense in order to export to undefined."
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.
@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.
What changes do you think we should make in order to solve the problem?
Show a different subtitle when policy does not have any connection. We can create one or use categories.subtitle. Or we can just make the subtitle empty when there is no connection. The same should be done on other pages where we use PolicyUtils.getCurrentConnectionName(policy)
What alternative solutions did you explore? (Optional)
changed the title [-][HOLD for payment 2024-07-17] Categories - The subtitle under "Members must categorize all expenses" contains "undefined"[/-][+][HOLD for payment 2024-07-22] [HOLD for payment 2024-07-17] Categories - The subtitle under "Members must categorize all expenses" contains "undefined"[/+]on Jul 15, 2024
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.6-8 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
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.
[@zanyrenney] 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
Select a workspace with an integration from workspace page > Categories
Click Settings > Verify Require a category on every expense... is shown
Select a workspace with no integration from workspace page > Categories
Click Settings > Verify no subtitle is shown below switch
@zanyrenney , this is ready for payment, the payment date is wrong, idk why melvin is acting so weird lately, so the payment date was actually 15th, can you pay this out please, thanks
changed the title [-][HOLD for payment 2024-07-22] [HOLD for payment 2024-07-17] Categories - The subtitle under "Members must categorize all expenses" contains "undefined"[/-][+][HOLD for payment 2024-07-17] Categories - The subtitle under "Members must categorize all expenses" contains "undefined"[/+]on Jul 18, 2024
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2EngineeringExternalAdded to denote the issue can be worked on by a contributor
Activity
melvin-bot commentedon Jul 4, 2024
Triggered auto assignment to @srikarparsi (
DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.melvin-bot commentedon Jul 4, 2024
Triggered auto assignment to @zanyrenney (
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 Jul 4, 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:
kavimuru commentedon Jul 4, 2024
@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.
Krishna2323 commentedon Jul 4, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
Categories - The subtitle under "Members must categorize all expenses" contains "undefined"
What is the root cause of that problem?
Undefined is shown when current policy does not have any connection.
App/src/pages/workspace/categories/WorkspaceCategoriesSettingsPage.tsx
Lines 27 to 29 in 2784712
What changes do you think we should make in order to solve the problem?
Show a different subtitle when policy does not have any connection. We can create one or use
categories.subtitle. Or we can just make the subtitle empty when there is no connection. The same should be done on other pages where we usePolicyUtils.getCurrentConnectionName(policy)What alternative solutions did you explore? (Optional)
34 remaining items
[-][HOLD for payment 2024-07-17] Categories - The subtitle under "Members must categorize all expenses" contains "undefined"[/-][+][HOLD for payment 2024-07-22] [HOLD for payment 2024-07-17] Categories - The subtitle under "Members must categorize all expenses" contains "undefined"[/+]melvin-bot commentedon Jul 15, 2024
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.6-8 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-07-22. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Jul 15, 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 commentedon Jul 16, 2024
The PR that introduced the bug has been identified. Link to the PR: [#Wave-Control: Add NetSuite]: Fix Connection name on Workspace pages. #44664
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: https://github.com/Expensify/App/pull/44664/files#r1678866912
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
Require a category on every expense...is shownDo we agree 👍 or 👎
allgandalf commentedon Jul 16, 2024
Note
@zanyrenney , this is ready for payment, the payment date is wrong, idk why melvin is acting so weird lately, so the payment date was actually 15th, can you pay this out please, thanks
zanyrenney commentedon Jul 18, 2024
okay thanks @allgandalf
[-][HOLD for payment 2024-07-22] [HOLD for payment 2024-07-17] Categories - The subtitle under "Members must categorize all expenses" contains "undefined"[/-][+][HOLD for payment 2024-07-17] Categories - The subtitle under "Members must categorize all expenses" contains "undefined"[/+]zanyrenney commentedon Jul 18, 2024
@allgandalf @Krishna2323 please accept job offer via upwork!
zanyrenney commentedon Jul 18, 2024
https://www.upwork.com/jobs/~01bb053c1f7f26c8bd
allgandalf commentedon Jul 18, 2024
Applied from my side 👍
zanyrenney commentedon Jul 18, 2024
payment summary
@Krishna2323 requires payment (Needs manual offer from BZ) - paid $250 via Upwork
@allgandalf requires payment (Needs manual offer from BZ) - paid $250 via Upwork
zanyrenney commentedon Jul 18, 2024
payments complete, and regression test requested!