Repository navigation
Description
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: 1.4.37.0
Reproducible in staging?: main
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: @rezkiy37
Slack conversation:
Action Performed:
Break down in numbered steps
- Be a member of a workspace with tags.
- Open own policy expense chat.
- Click on the “+” (actions).
- Click on “Split bill”.
- Select “Manual”.
- Enter any amount.
- Click on “Next”.
- Click on “Show more”.
- Click on a tag row.
- Select any tag.
Expected Result:
Describe what you think should've happened
The tag row should contain a previously selected tag.
Actual Result:
Describe what actually happened
The previously selected tag has not been applied for a split bill.
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:
Which of our officially supported platforms is this issue occurring on?
- Android: Native
- Android: mWeb Chrome
- iOS: Native
- iOS: mWeb Safari
- MacOS: Chrome / Safari
- MacOS: Desktop
Screenshots/Videos
Add any screenshot/video evidence
Upwork Automation - Do Not Edit
- Upwork Job URL: https://www.upwork.com/jobs/~0105b7db6cc3d465b3
- Upwork Job ID: 1754544056596803584
- Last Price Increase: 2024-02-05
- Automatic offers:
- jjcoffee | Reviewer | 28145956
- paultsimura | Contributor | 28145958
Metadata
Metadata
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
[-]Selecting tag on Split bill does not work[/-][+][$500] Selecting tag on Split bill does not work[/+]melvin-bot commentedon Feb 5, 2024
Job added to Upwork: https://www.upwork.com/jobs/~0105b7db6cc3d465b3
melvin-bot commentedon Feb 5, 2024
Triggered auto assignment to @Christinadobrzyn (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.melvin-bot commentedon Feb 5, 2024
Triggered auto assignment to Contributor-plus team member for initial proposal review - @jjcoffee (
External)paultsimura commentedon Feb 5, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
While creating a Split request, setting a tag doesn't work.
What is the root cause of that problem?
The issue lies here:
App/src/pages/iou/request/step/IOURequestStepTag.js
Lines 72 to 76 in 43d1576
This was supposed to handle the Split Bill modifications, which use the SPLIT_TRANSACTION_DRAFT Onyx key. However, when creating a request, we use the
TRANSACTION_DRAFT. Therefore, this operation updates the wrong Onyx key.What changes do you think we should make in order to solve the problem?
We should move this split-check inside the
isEditingcheck:Or simply add the
&& isEditingcheck to it:App/src/pages/iou/request/step/IOURequestStepTag.js
Lines 77 to 81 in 43d1576
What alternative solutions did you explore? (Optional)
mountiny commentedon Feb 5, 2024
@jjcoffee can you please review?
jjcoffee commentedon Feb 6, 2024
@paultsimura's proposal LGTM! This looks like a regression from #35136.
🎀👀🎀 C+ reviewed
17 remaining items
melvin-bot commentedon Feb 12, 2024
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Feb 12, 2024
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.39-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-02-19. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Feb 12, 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:
jjcoffee commentedon Feb 16, 2024
Regression Test Proposal
Do we agree 👍 or 👎
[-][HOLD for payment 2024-02-19] [$500] Selecting tag on Split bill does not work[/-][+][HOLD for payment 2024-02-19] [$500] [LOW] Selecting tag on Split bill does not work[/+]Christinadobrzyn commentedon Feb 20, 2024
hi! Sorry I'm ooo sick today - I'll pay this out tomorrow
Christinadobrzyn commentedon Feb 21, 2024
Sorry for the delay here - just checking @jjcoffee, are we ready to pay this out - I saw some additional communication in the PR after the production notification.
Payouts due:
Contributor: $500 @paultsimura (paid in Upwork)
Contributor+: $500 @jjcoffee (paid in Upwork)
Eligible for 50% #urgency bonus? NA
Upwork job is here.
Regression test _ https://github.com/Expensify/Expensify/issues/371555
jjcoffee commentedon Feb 22, 2024
@Christinadobrzyn No worries, hope you're feeling better! This is ready for payout - the PR you've linked is the one that introduced the bug (this is the correct one).
Christinadobrzyn commentedon Feb 22, 2024
Awesome! thanks @jjcoffee! Paid out based on this payment summary - #35836 (comment)
Feel free to reach out with any questions!