-
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
Dupe detection - Expenses with the same amount but different merchants are considered dupes #47106
Comments
Triggered auto assignment to @stephanieelliott ( |
@stephanieelliott 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 |
Edited by proposal-police: This proposal was edited at 2024-08-09 05:21:51 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Expenses with the same amount but different merchants are considered dupes. "Duplicate" violation can be seen at the Merchant field for both of the expenses What is the root cause of that problem?The App/src/hooks/useViolations.ts Line 21 in 87c116b
What changes do you think we should make in order to solve the problem?I tested the case to create two expenses with different amount and the same merchant, the violation doesn't appear. So I think the
App/src/hooks/useViolations.ts Line 21 in 87c116b
What alternative solutions did you explore? (Optional)Or BE should return the duplicate violation for each field like App/src/hooks/useViolations.ts Line 21 in 87c116b
|
Updated proposal.
|
@stephanieelliott Whoops! This issue is 2 days overdue. Let's get this updated quick! |
This isn't a bug, it's intended behavior -- only the expense date and amount are taken into consideration for dupe detection. The merchant name is not, since credit card and cash/POS merchant names can (and often do) differ. |
@stephanieelliott Can you please check again, the current problem here is the amount is detected as duplicate but the duplicate violation is displayed in the merchant field. |
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: 9.0.18-3
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
There shouldn't be a violation at the Merchant field
Actual Result:
Expenses with the same amount but different merchants are considered dupes. "Duplicate" violation can be seen at the Merchant field for both of the expenses
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6565948_1723142754879.bandicam_2024-08-08_20-37-19-740.mp4
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: