Skip to content
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

Scan - "Receipt scanning failed" is shown when "Unknown merchant" is not considered an error #33418

Closed
6 tasks done
lanitochka17 opened this issue Dec 21, 2023 · 7 comments
Closed
6 tasks done
Assignees
Labels
Daily KSv2 Engineering Improvement Item broken or needs improvement. Reviewing Has a PR in review

Comments

@lanitochka17
Copy link

lanitochka17 commented Dec 21, 2023

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.15-4
Reproducible in staging?: Y
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: Applause - Internal Team
Slack conversation:

Issue found when executing PR #33220

Action Performed:

  1. Create a Scan request using a receipt with Amount but no Merchant
  2. When smartscanning is complete, open request details view

Expected Result:

Since "Unknown merchant" is no longer considered an error, it will not show "Receipt scanning failed" message

Actual Result:

It still shows "Receipt scanning failed" message when "Unknown merchant" is not considered an error

Workaround:

Unknown

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

Bug6322794_1703169662003!bandicam_2023-12-21_21-09-28-161

Bug6322794_1703169661975!receipt_no_merchant

View all open jobs on GitHub

@lanitochka17 lanitochka17 added the DeployBlockerCash This issue or pull request should block deployment label Dec 21, 2023
Copy link
Contributor

👋 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:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.

Copy link

melvin-bot bot commented Dec 21, 2023

Triggered auto assignment to @tylerkaraszewski (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

@jasperhuangg
Copy link
Contributor

It looks like this error is being displayed here: https://github.com/Expensify/Auth/blob/main/auth/command/EditMoneyRequest.cpp#L375-L403

@Gonals @sobitneupane is this the expected behavior when the user selects "Merchant is unclear"? I feel like it's a bit awkward, since they already specified that they weren't able to get a merchant from the receipt.

Regardless, I'm not going to block deploy on this–this can be fixed in a subsequent PR.

@jasperhuangg jasperhuangg added Daily KSv2 and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Dec 22, 2023
@melvin-bot melvin-bot bot added the Overdue label Dec 25, 2023
Copy link

melvin-bot bot commented Dec 25, 2023

@Gonals Whoops! This issue is 2 days overdue. Let's get this updated quick!

@Gonals
Copy link
Contributor

Gonals commented Dec 27, 2023

It looks like this error is being displayed here: https://github.com/Expensify/Auth/blob/main/auth/command/EditMoneyRequest.cpp#L375-L403

@Gonals @sobitneupane is this the expected behavior when the user selects "Merchant is unclear"? I feel like it's a bit awkward, since they already specified that they weren't able to get a merchant from the receipt.

Regardless, I'm not going to block deploy on this–this can be fixed in a subsequent PR.

You are very right. I'll fix that

@melvin-bot melvin-bot bot removed the Overdue label Dec 27, 2023
@Gonals Gonals added Improvement Item broken or needs improvement. Weekly KSv2 Daily KSv2 Reviewing Has a PR in review and removed Daily KSv2 Weekly KSv2 labels Dec 27, 2023
Copy link

melvin-bot bot commented Jan 3, 2024

@Gonals Whoops! This issue is 2 days overdue. Let's get this updated quick!

@Gonals
Copy link
Contributor

Gonals commented Jan 4, 2024

This is done

@Gonals Gonals closed this as completed Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Daily KSv2 Engineering Improvement Item broken or needs improvement. Reviewing Has a PR in review
Projects
None yet
Development

No branches or pull requests

4 participants