-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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-03-13] [$500] Split - "Enter a merchant name" error message appears while scanning is in process #34916
Comments
Job added to Upwork: https://www.upwork.com/jobs/~01e28b0f9e8a41bb6e |
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.Error message for missing merchant appears while scanning is in process What is the root cause of that problem?We always display the error if merchant is missed without checking the scan is scanning or not
What changes do you think we should make in order to solve the problem?We should pass
Or we can wait for What alternative solutions did you explore? (Optional)NA |
I'm actually unable to reproduce. |
ProposalPlease re-state the problem that we are trying to solve in this issue.The merchant field shows an error on a split bill details page while the receipt is still scanning. What is the root cause of that problem?Currently, we show the error if
App/src/components/MoneyRequestConfirmationList.js Lines 276 to 281 in 9c552ab
But
The The The reason for the condition is to not show a merchant field if we are going to create a new scan request (just like other field, such as amount), but this condition is not applicable for the split bill details page (which still uses If we look at MoneyRequestView, we can see the condition to decide whether to show the merchant error or not.
And that's the one that we should follow. What changes do you think we should make in order to solve the problem?We can update
Then we can remove the
If we later migrate to |
ProposalPlease re-state the problem that we are trying to solve in this issue.Split - "Enter a merchant name" error message appears while scanning is in process What is the root cause of that problem?This happens as this condition evaluates to
The problem is we OR the result of We use We use this to only show merchant errors, in places where it is a required field. What changes do you think we should make in order to solve the problem?
The
error={shouldDisplayMerchantError && shouldDisplayFieldError && TransactionUtils.isMerchantMissing(transaction) ? translate('common.error.enterMerchant') : ''} We should also add
brickRoadIndicator={shouldDisplayMerchantError && shouldDisplayFieldError && TransactionUtils.isMerchantMissing(transaction) ? CONST.BRICK_ROAD_INDICATOR_STATUS.ERROR : ''} Result:BeforeScreen.Recording.2024-01-23.at.1.51.04.AM.movAfterScreen.Recording.2024-01-23.at.1.46.30.AM.movAlternativelyFor a finer change, since merchant is not a required field for Split Request, while showing error, we should check for error={shouldDisplayMerchantError || (shouldDisplayFieldError && !isSplitBill
&& TransactionUtils.isMerchantMissing(transaction)) ? translate('common.error.enterMerchant') : ''} |
@lanitochka17 hi, looks like we don't have a C+ assigned here 🤔 |
Even BZ member not assigned here 🤔 I can take this as C+ |
6 days overdue. This is scarier than being forced to listen to Vogon poetry! |
8 days overdue is a lot. Should this be a Weekly issue? If so, feel free to change it! |
Triggered auto assignment to @anmurali ( |
@anmurali this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
@anmurali Whoops! This issue is 2 days overdue. Let's get this updated quick! |
I will rotate the external label and see if that kicks off the Upwork process. I will assign you @situchan |
📣 @situchan 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.47-10 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-13. 🎊 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:
|
@bernhardoj and @situchan are paid. @situchan can you complete the BZ checklist? |
@anmurali, @srikarparsi, @bernhardoj, @situchan Eep! 4 days overdue now. Issues have feelings too... |
@situchan - this is waiting on you to complete the checklist. Can you please handle? |
yes, I was looking for culprit PR but not found. The issue existed for a while. We already have regression test here: |
Cool, in that case do you want to check off the boxes @situchan or is there something pending before payment? |
@situchan, do you think you can complete the checklist whenever you get a chance? |
@anmurali, @srikarparsi, @bernhardoj, @situchan Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@situchan - bump on the checklist. |
@anmurali, @srikarparsi, @bernhardoj, @situchan Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@anmurali, @srikarparsi, @bernhardoj, @situchan 6 days overdue. This is scarier than being forced to listen to Vogon poetry! |
Since the regression test exists here, and everyone's been paid, I will close this issue |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] 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/4211017
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:
Pre-requisite: user must have created a workspace and invited a member as employee
Expected Result:
Error message for missing merchant should not appear while the scanning is in process
Actual Result:
Error message for missing merchant appears while scanning is in process
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6350890_1705948714600.Xfyp7681_1_.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: