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

[HOLD for payment 2024-01-30] [$500] IOU-Receipt missing data remains on employee workspace chat when admin pay expense #34431

Closed
3 of 6 tasks
kavimuru opened this issue Jan 12, 2024 · 21 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. External Added to denote the issue can be worked on by a contributor Weekly KSv2

Comments

@kavimuru
Copy link

kavimuru commented Jan 12, 2024

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.24-4
Reproducible in staging?: y
Reproducible in production?: y
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:

Action Performed:

  1. Start the request money flow > "Scan" receipt
  2. Upload a blurry receipt
  3. Complete the money request flow
  4. While the receipt is scanning - navigate to the request conversation
  5. Manually edit the amount field
  6. Verify the merchant field shows a error to "Enter a merchant"
  7. As the admin - Mark the expense as paid
  8. Navigate back to Employee account

Expected Result:

Receipt missing data should not be present

Actual Result:

Receipt missing data remains on employee workspace chat when admin pay expense

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

Bug6339913_1705051426576.az_recorder_20240111_215954.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~019b87b4141331b3a5
  • Upwork Job ID: 1745752013862113280
  • Last Price Increase: 2024-01-12
  • Automatic offers:
    • bernhardoj | Contributor | 28102841
Issue OwnerCurrent Issue Owner: @garrettmknight
@kavimuru kavimuru added External Added to denote the issue can be worked on by a contributor Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Jan 12, 2024
Copy link

melvin-bot bot commented Jan 12, 2024

Job added to Upwork: https://www.upwork.com/jobs/~019b87b4141331b3a5

@melvin-bot melvin-bot bot changed the title IOU-Receipt missing data remains on employee workspace chat when admin pay expense [$500] IOU-Receipt missing data remains on employee workspace chat when admin pay expense Jan 12, 2024
Copy link

melvin-bot bot commented Jan 12, 2024

Triggered auto assignment to @garrettmknight (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Jan 12, 2024
Copy link

melvin-bot bot commented Jan 12, 2024

Triggered auto assignment to Contributor-plus team member for initial proposal review - @thesahindia (External)

@bernhardoj
Copy link
Contributor

Proposal

Please re-state the problem that we are trying to solve in this issue.

The Receipt missing data still shows after the request is paid.

What is the root cause of that problem?

The Receipt missing data will be shown when there is a missing required field of the request regardless of the settled status.

if (TransactionUtils.hasMissingSmartscanFields(props.transaction)) {
return Localize.translateLocal('iou.receiptMissingDetails');
}

What changes do you think we should make in order to solve the problem?

Add && !isSettled so it will show the amount if the request is paid/settled.

or just do nothing

@melvin-bot melvin-bot bot added the Overdue label Jan 14, 2024
@garrettmknight
Copy link
Contributor

@thesahindia can you take a look at this proposal? Looks pretty straightforward.

@melvin-bot melvin-bot bot removed the Overdue label Jan 15, 2024
Copy link

melvin-bot bot commented Jan 15, 2024

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

@thesahindia
Copy link
Member

@bernhardoj's proposal looks good to me!

🎀 👀 🎀 C+ reviewed

Copy link

melvin-bot bot commented Jan 15, 2024

Triggered auto assignment to @bondydaa, see https://stackoverflow.com/c/expensify/questions/7972 for more details.

@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Jan 15, 2024
Copy link

melvin-bot bot commented Jan 15, 2024

📣 @bernhardoj 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app!

Offer link
Upwork job
Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑‍💻
Keep in mind: Code of Conduct | Contributing 📖

@bernhardoj
Copy link
Contributor

PR is ready

cc: @thesahindia

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Jan 23, 2024
@melvin-bot melvin-bot bot changed the title [$500] IOU-Receipt missing data remains on employee workspace chat when admin pay expense [HOLD for payment 2024-01-30] [$500] IOU-Receipt missing data remains on employee workspace chat when admin pay expense Jan 23, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Jan 23, 2024
Copy link

melvin-bot bot commented Jan 23, 2024

Reviewing label has been removed, please complete the "BugZero Checklist".

Copy link

melvin-bot bot commented Jan 23, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.29-1 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-01-30. 🎊

For reference, here are some details about the assignees on this issue:

Copy link

melvin-bot bot commented Jan 23, 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:

  • [@thesahindia] The PR that introduced the bug has been identified. Link to the PR:
  • [@thesahindia] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
  • [@thesahindia] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
  • [@thesahindia] Determine if we should create a regression test for this bug.
  • [@thesahindia] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
  • [@garrettmknight] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@melvin-bot melvin-bot bot added Daily KSv2 Overdue and removed Weekly KSv2 labels Jan 29, 2024
Copy link

melvin-bot bot commented Feb 2, 2024

@garrettmknight, @bondydaa, @bernhardoj, @thesahindia Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

Copy link

melvin-bot bot commented Feb 5, 2024

@garrettmknight, @bondydaa, @bernhardoj, @thesahindia 6 days overdue. This is scarier than being forced to listen to Vogon poetry!

@garrettmknight
Copy link
Contributor

Payment Summary:

@melvin-bot melvin-bot bot removed the Overdue label Feb 5, 2024
@garrettmknight
Copy link
Contributor

Dropping to weekly to finish the checklist and request payment

@garrettmknight garrettmknight added Weekly KSv2 and removed Daily KSv2 labels Feb 5, 2024
@thesahindia
Copy link
Member

Steps for test case -

  1. Open your own policy expense chat
  2. Create a new scan request
  3. Open the request detail thread and set any amount
  4. Go back to the expense report
  5. Verify the request preview shows "Receipt missing details"
  6. Pay the request
  7. Verify the request preview changes to the request amount

@melvin-bot melvin-bot bot added the Overdue label Feb 21, 2024
@garrettmknight
Copy link
Contributor

Test case added - @thesahindia request payment when you're ready.

@melvin-bot melvin-bot bot removed the Overdue label Feb 21, 2024
@thesahindia
Copy link
Member

Yeah I will send the request soon. You can close this.

@JmillsExpensify
Copy link

$500 approved for @thesahindia

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. External Added to denote the issue can be worked on by a contributor Weekly KSv2
Projects
None yet
Development

No branches or pull requests

6 participants