Repository navigation
[HOLD for payment 2024-07-17] Categories - The subtitle under "Members must categorize all expenses" contains "undefined" #44826
Description
Activity
- addedDeployBlockerCashThis issue or pull request should block deploymentThis issue or pull request should block deploymentDailyKSv2KSv2BugSomething is broken. Auto assigns a BugZero manager.Something is broken. Auto assigns a BugZero manager.DeployBlockerIndicates it should block deploying the APIIndicates it should block deploying the API
on Jul 4, 2024 Triggered auto assignment to @srikarparsi (
DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.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.👋 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.
- Find someone who can quickly fix the issue.
- Fix the issue yourself.
@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.
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.
const currentConnectionName = PolicyUtils.getCurrentConnectionName(policy); const toggleSubtitle = `${translate('workspace.categories.needCategoryForExportToIntegration')} ${currentConnectionName}.`; 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
- 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:
If no regressions arise, payment will be issued on 2024-07-22. 🎊
For reference, here are some details about the assignees on this issue:
- @Krishna2323 requires payment (Needs manual offer from BZ)
- @allgandalf requires payment (Needs manual offer from BZ)
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:
-
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
- 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
Do we agree 👍 or 👎
Reacted by Zany Renney-
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
okay thanks @allgandalf
- 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 @allgandalf @Krishna2323 please accept job offer via upwork!
Applied from my side 👍
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 Upworkpayments complete, and regression test requested!
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
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:
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?
Screenshots/Videos
Bug6533029_1720092955253.bandicam_2024-07-04_19-34-38-797.mp4
View all open jobs on GitHub
Issue Owner
Current Issue Owner: @zanyrenney