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-03-20] [HOLD for payment 2024-03-19] [$500] Tag - Tag list shows old tag as selected when newer tag is selected in Split scan request #38042
👋 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.
Please re-state the problem that we are trying to solve in this issue.
The edited tag isn't applied in split bill request
What is the root cause of that problem?
In split bill requests, we save the draft data in splitDraftTransaction field instead of transaction field. But in here, we always get tag from transaction field
changed the title [-][HOLD for payment 2024-03-19] [$500] Tag - Tag list shows old tag as selected when newer tag is selected in Split scan request[/-][+][HOLD for payment 2024-03-20] [HOLD for payment 2024-03-19] [$500] Tag - Tag list shows old tag as selected when newer tag is selected in Split scan request[/+]on Mar 13, 2024
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.51-3 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:
[@DylanDylann] The PR that introduced the bug has been identified. Link to the PR:
[@DylanDylann] 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:
[@DylanDylann] 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:
[@DylanDylann] Determine if we should create a regression test for this bug.
[@DylanDylann] 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:
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:
[@DylanDylann] The PR that introduced the bug has been identified. Link to the PR
[@DylanDylann] 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
[@DylanDylann] 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: NA
[@DylanDylann] Determine if we should create a regression test for this bug. Yes
[@DylanDylann] 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
Precondition::
User is an employee of Collect workspace.
The Collect workspace has tags.
Go to staging.new.expensify.com
Go to workspace chat.
Go to + > Split bill > Scan.
Create a scan split with a tag.
Click on the split preview.
Click Tag.
Select a different tag.
Click Tag.
The Tag list will show the newly-selected tag on the top
Activity
github-actions commentedon Mar 11, 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:
melvin-bot commentedon Mar 11, 2024
Triggered auto assignment to @mountiny (
Engineering), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.kbecciv commentedon Mar 11, 2024
We think that this bug might be related to #wave6-collect-submitters
cc @greg-schroeder
mountiny commentedon Mar 11, 2024
Seems like this might be related to @FitseTLT @puneetlath @neil-marcellini @ishpaul777 #37879
ishpaul777 commentedon Mar 11, 2024
looking into it...
nkdengineer commentedon Mar 11, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
The edited tag isn't applied in split bill request
What is the root cause of that problem?
In split bill requests, we save the draft data in
splitDraftTransactionfield instead oftransactionfield. But in here, we always get tag fromtransactionfieldApp/src/pages/iou/request/step/IOURequestStepTag.js
Line 90 in bf1ff4c
What changes do you think we should make in order to solve the problem?
We should use information from the
splitDraftTransactionfield ifisEditingSplitBillis true like we did in IOURequestStepCategoryApp/src/pages/iou/request/step/IOURequestStepCategory.js
Line 76 in bf1ff4c
What alternative solutions did you explore? (Optional)
nkdengineer commentedon Mar 11, 2024
@ishpaul777 This issue isn't caused by #37879
nkdengineer commentedon Mar 11, 2024
While migrating the logic to IOURequestStepPage in here, they missed this case
ishpaul777 commentedon Mar 11, 2024
@nkdengineer are you suggesting the issue is not a deploy blocker, means also repro on production ?
DylanDylann commentedon Mar 11, 2024
Agree with @nkdengineer. I noticed this bug and reported here. Could I take over this issue as a C+ role?
ishpaul777 commentedon Mar 11, 2024
Actually i can handle this one if @mountiny agrees..
38 remaining items
[-][HOLD for payment 2024-03-19] [$500] Tag - Tag list shows old tag as selected when newer tag is selected in Split scan request[/-][+][HOLD for payment 2024-03-20] [HOLD for payment 2024-03-19] [$500] Tag - Tag list shows old tag as selected when newer tag is selected in Split scan request[/+]melvin-bot commentedon Mar 13, 2024
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.51-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 2024-03-20. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Mar 13, 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 Mar 18, 2024
Hey @nkdengineer, could you please apply to the Upwork job (https://www.upwork.com/jobs/~017e2d605b4f1b0cbe), or alternatively, link to your Upwork profile here so that I can send you an offer?
@DylanDylann could you please complete the BZ checklist?
DylanDylann commentedon Mar 19, 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:
[@DylanDylann] The PR that introduced the bug has been identified. Link to the PR
[@DylanDylann] 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
[@DylanDylann] 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: NA
[@DylanDylann] Determine if we should create a regression test for this bug. Yes
[@DylanDylann] 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
Precondition::
User is an employee of Collect workspace.
The Collect workspace has tags.
Do we agree 👍 or 👎
luacmartins commentedon Mar 19, 2024
We'll add test steps once the feature is fully implemented. No need to add them now.
sakluger commentedon Mar 20, 2024
Summarizing payment on this issue:
Contributor: @nkdengineer $500, sent offer via Upwork (https://www.upwork.com/nx/wm/offer/101491657)
Contributor+: @DylanDylann $500, paid via Upwork
@nkdengineer please let me know once you've accepted the offer.
nkdengineer commentedon Mar 22, 2024
@sakluger I've accepted the offer, thanks.
sakluger commentedon Mar 22, 2024
Thank you! All contracts have been paid out.