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-12-20] [$250] Search - Hmm it's not here opens when try to View invoices created in OD #51528

Closed
1 of 8 tasks
lanitochka17 opened this issue Oct 26, 2024 · 38 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Internal Requires API changes or must be handled by Expensify staff

Comments

@lanitochka17
Copy link

lanitochka17 commented Oct 26, 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: 9.0.54-1
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/cases/view/3284914
Issue reported by: Applause - Internal Team

Action Performed:

Precondition: workspace with enabled invoices. Admin is logged in ND and OD

  1. In OD: Submit a invoice to anyone with at least 2 expenses
  2. In ND: Navigate to the Search page
  3. Click on Invoices
  4. Click on the Outstanding filter
  5. Click on the “View” button next to the report that has the 2 expenses grouped

Expected Result:

The report view is displayed and the 2 expenses are visible

Actual Result:

'Hmm.. it's not here' tab is opened

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Standalone
  • Android: HybridApp
  • Android: mWeb Chrome
  • iOS: Standalone
  • iOS: HybridApp
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence
Bug6646569_1729938456638.invoice_tab_hmm.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021851097781495138249
  • Upwork Job ID: 1851097781495138249
  • Last Price Increase: 2024-11-12
  • Automatic offers:
    • dukenv0307 | Reviewer | 104892930
Issue OwnerCurrent Issue Owner: @VictoriaExpensify
@lanitochka17 lanitochka17 added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Oct 26, 2024
Copy link

melvin-bot bot commented Oct 26, 2024

Triggered auto assignment to @VictoriaExpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

@lanitochka17
Copy link
Author

@VictoriaExpensify 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

@lanitochka17
Copy link
Author

We think that this bug might be related to #vip-bills

@melvin-bot melvin-bot bot added the Overdue label Oct 28, 2024
@VictoriaExpensify VictoriaExpensify added the External Added to denote the issue can be worked on by a contributor label Oct 29, 2024
@melvin-bot melvin-bot bot changed the title Search - Hmm it's not here opens when try to View invoices created in OD [$250] Search - Hmm it's not here opens when try to View invoices created in OD Oct 29, 2024
Copy link

melvin-bot bot commented Oct 29, 2024

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

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

melvin-bot bot commented Oct 29, 2024

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

@VictoriaExpensify
Copy link
Contributor

I think since this is a backward compatible issue, I would put this as a Migrate bug. But we should definitely get this fixed

@rezkiy37
Copy link
Contributor

Hi, I am Michael (Mykhailo) from Callstack, an expert agency and I can work on this issue.

@flaviadefaria flaviadefaria moved this to First Cohort in [#whatsnext] #migrate Oct 31, 2024
@rezkiy37
Copy link
Contributor

I am OOO till Tuesday and will continue to work on this issue later.

@melvin-bot melvin-bot bot added the Overdue label Oct 31, 2024
Copy link

melvin-bot bot commented Nov 1, 2024

@VictoriaExpensify, @dukenv0307 Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@VictoriaExpensify
Copy link
Contributor

Not OD

@rezkiy37
Copy link
Contributor

rezkiy37 commented Nov 5, 2024

I am back and working on the issue.

@rezkiy37
Copy link
Contributor

rezkiy37 commented Nov 5, 2024

I can confirm the bug is replicable. Working on it.

Details

Screenshot 2024-11-05 at 15 55 28

Copy link

melvin-bot bot commented Nov 5, 2024

📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

Copy link

melvin-bot bot commented Nov 5, 2024

@VictoriaExpensify, @dukenv0307 Still overdue 6 days?! Let's take care of this!

@rezkiy37
Copy link
Contributor

rezkiy37 commented Nov 6, 2024

Working on the issue.

@rezkiy37
Copy link
Contributor

rezkiy37 commented Nov 6, 2024

I've started a discussion in Slack.

Copy link

melvin-bot bot commented Nov 11, 2024

@VictoriaExpensify, @dukenv0307 12 days overdue now... This issue's end is nigh!

@rezkiy37
Copy link
Contributor

Working on the issue.

@cristipaval cristipaval added Weekly KSv2 Internal Requires API changes or must be handled by Expensify staff and removed Daily KSv2 External Added to denote the issue can be worked on by a contributor labels Nov 19, 2024
@melvin-bot melvin-bot bot added the Overdue label Nov 27, 2024
@VictoriaExpensify
Copy link
Contributor

Any updates on this @cristipaval ?

@melvin-bot melvin-bot bot removed the Overdue label Nov 28, 2024
@cristipaval
Copy link
Contributor

The backend PR is ready for review.

@cristipaval
Copy link
Contributor

@rezkiy37, the backend PR has been deployed

@rezkiy37
Copy link
Contributor

rezkiy37 commented Dec 5, 2024

Hey @cristipaval!
I can confirm that the backend allows the app to render reports now. Thank you!

However, I just tested it and found that there is a crucial difference between normal invoice rooms and invoices with multiple expenses. They are not defined as invoice rooms or invoice reports but they are policy expense reports.

Screenshots

Invoice room

Screenshot 2024-12-05 at 14 58 18

Invoice report actions

Screenshot 2024-12-05 at 15 04 34

Invoice report

Screenshot 2024-12-05 at 15 16 31

Does it make sense?

@cristipaval
Copy link
Contributor

Hey @rezkiy37!

The invoice report should be rendered similarly to an expense report, not to an invoice room or expense chat. So you should get the report.type = invoice

@cristipaval
Copy link
Contributor

I added more clarification here. Let me know if you still need changes in the backend

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Weekly KSv2 labels Dec 6, 2024
@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Dec 13, 2024
@melvin-bot melvin-bot bot changed the title [$250] Search - Hmm it's not here opens when try to View invoices created in OD [HOLD for payment 2024-12-20] [$250] Search - Hmm it's not here opens when try to View invoices created in OD Dec 13, 2024
Copy link

melvin-bot bot commented Dec 13, 2024

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

@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Dec 13, 2024
Copy link

melvin-bot bot commented Dec 13, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.75-6 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-12-20. 🎊

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

Copy link

melvin-bot bot commented Dec 13, 2024

@dukenv0307 @VictoriaExpensify @dukenv0307 The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]

@dukenv0307
Copy link
Contributor

BugZero Checklist:

  • [Contributor] Classify the bug:
Bug classification

Source of bug:

  • 1a. Result of the original design (eg. a case wasn't considered)
  • 1b. Mistake during implementation
  • 1c. Backend bug
  • 1z. Other:

Where bug was reported:

  • 2a. Reported on production
  • 2b. Reported on staging (deploy blocker)
  • 2c. Reported on a PR
  • 2z. Other:

Who reported the bug:

  • 3a. Expensify user
  • 3b. Expensify employee
  • 3c. Contributor
  • 3d. QA
  • 3z. Other:
  • [Contributor] 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: Need both BE and FE fix

  • [Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source 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: N/A

  • [Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again. Yes

Regression Test Proposal Template
  • [BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.

    Link to issue:

Regression Test Proposal

Test:

Precondition: have a workspace with enabled invoices. Admin is logged in ND and OD.

  1. In OD: Submit a invoice to anyone with at least 2 expenses.
  2. In ND: Navigate to the Search page.
  3. Click on Invoices.
  4. Click on the "Outstanding" filter.
  5. Click on the “View” button next to the report that has the 2 expenses grouped.
  6. Verify the the report view is displayed and the 2 expenses are visible.

Do we agree 👍 or 👎

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Dec 20, 2024
@VictoriaExpensify
Copy link
Contributor

Created request to add regression test to testrail https://github.com/Expensify/Expensify/issues/455488

@VictoriaExpensify
Copy link
Contributor

Payment summary:
C: @rezkiy37 - Contractor
C+: @dukenv0307 paid $250 via Upwork

@github-project-automation github-project-automation bot moved this from First Cohort - HIGH to Done in [#whatsnext] #migrate Dec 22, 2024
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. Daily KSv2 Internal Requires API changes or must be handled by Expensify staff
Projects
Development

No branches or pull requests

6 participants