-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[HOLD for payment 2024-02-09] [$125] Split - Error message for merchant required is displayed on failed split in group DM #34914
Comments
Job added to Upwork: https://www.upwork.com/jobs/~01c87576e15c9b6373 |
Triggered auto assignment to @michaelhaxhiu ( |
We think that this bug might be related to #vip-split-p2p-chat-groups |
ProposalPlease re-state the problem that we are trying to solve in this issue.The Merchant Required error is shown for split requests outside of an Expense report. What is the root cause of that problem?We do not properly check if the request belongs to the Policy Expense Chat while showing the merchant error here: App/src/components/MoneyRequestConfirmationList.js Lines 714 to 715 in 61c7e0b
What changes do you think we should make in order to solve the problem?We should display this error only if the report belongs to the Expense Chat by adding a brickRoadIndicator={props.isPolicyExpenseChat && shouldDisplayFieldError && TransactionUtils.isMerchantMissing(transaction) ? CONST.BRICK_ROAD_INDICATOR_STATUS.ERROR : ''}
error={shouldDisplayMerchantError || (props.isPolicyExpenseChat && shouldDisplayFieldError && TransactionUtils.isMerchantMissing(transaction)) ? translate('common.error.enterMerchant') : ''} This can be a bit simplified by moving this whole check into a separate variable and reusing it, but the general idea is the same. We are making the same check on the App/src/components/ReportActionItem/MoneyRequestView.js Lines 316 to 317 in 5e71037
What alternative solutions did you explore? (Optional) |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @s77rt ( |
Upwork job price has been updated to $125 |
@youssef-lr wouldn't it be fair to make the bounty for this one equal to the other almost identical issue – #33876? What's the difference between these 2 issues? |
I think that bug is more important. |
@paultsimura Thanks for the proposal. Your RCA is correct. The solution looks good to me. 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @cead22, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @s77rt 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @paultsimura 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
Thanks. The PR is ready for review: #35112 |
Triggered auto assignment to @Christinadobrzyn ( |
Gonna move this to weekly while the PR is reviewed. Feel free to let me know if you'd prefer it stay daily. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.35-7 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-09. 🎊 For reference, here are some details about the assignees on 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:
|
|
Payouts due: Contributor: $125 @paultsimura (in Upwork - https://www.upwork.com/nx/wm/offer/28120336) |
@cead22, @paultsimura, @s77rt, @Christinadobrzyn Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Sorry for the delay - paid out based on this payment summary - #34914 (comment) It sounds like we don't need a regression test for this, correct @s77rt? If that's the case, I'll close this out. Thanks! |
@Christinadobrzyn Yes we can close this |
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.29-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4211016
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:
Re-requisite: user must have created a group and created a Split bill that will fail
Expected Result:
Error message for merchant required should not appear, since merchant is not a requirement outside workspace expense
Actual Result:
Error message for merchant required is displayed
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6350857_1705947617846.bandicam_2024-01-22_14-14-46-634.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: