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

[Awaiting Payment Request] [$125] Dupe detection -Not here page opens after navigating to confirm page by link and confirming it #45832

Closed
6 tasks done
lanitochka17 opened this issue Jul 20, 2024 · 30 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Engineering External Added to denote the issue can be worked on by a contributor Weekly KSv2

Comments

@lanitochka17
Copy link

lanitochka17 commented Jul 20, 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.10-2
Reproducible in staging?: Y
Reproducible in production?: N
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:

  1. Go to staging.new.expensify.com
  2. Go to workspace chat
  3. Submit two same expenses (same amount and merchant)
  4. Go to transactiont thread of any expense
  5. Click Review duplicates
  6. Click Keep this one (any)
  7. Proceed to confirmation page
  8. Copy the link to confirmation page
  9. Go to Account settings > Troubleshoot > Clear cache and restart > Reset and refresh
  10. Navigate to the confirmation page via link
  11. Click Confirm

Expected Result:

After confirming the review, app will open the transaction thread

Actual Result:

After confirming the review, app redirects to not here page

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

Bug6547830_1721455455619.20240720_135327.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01156fb1121250d6e8
  • Upwork Job ID: 1814753798615808236
  • Last Price Increase: 2024-07-20
  • Automatic offers:
    • dominictb | Contributor | 103215058
Issue OwnerCurrent Issue Owner: @garrettmknight
@lanitochka17 lanitochka17 added DeployBlockerCash This issue or pull request should block deployment DeployBlocker Indicates it should block deploying the API labels Jul 20, 2024
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 Jul 20, 2024

Triggered auto assignment to @Julesssss (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

@mountiny
Copy link
Contributor

@mountiny mountiny added the External Added to denote the issue can be worked on by a contributor label Jul 20, 2024
@melvin-bot melvin-bot bot changed the title Dupe detection -Not here page opens after navigating to confirm page by link and confirming it [$250] Dupe detection -Not here page opens after navigating to confirm page by link and confirming it Jul 20, 2024
Copy link

melvin-bot bot commented Jul 20, 2024

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

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

melvin-bot bot commented Jul 20, 2024

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

@parasharrajat
Copy link
Member

This needs to be handled or we have to block confirm page direct link.

@mountiny mountiny changed the title [$250] Dupe detection -Not here page opens after navigating to confirm page by link and confirming it [$215] Dupe detection -Not here page opens after navigating to confirm page by link and confirming it Jul 20, 2024
Copy link

melvin-bot bot commented Jul 20, 2024

Upwork job price has been updated to $215

@mountiny mountiny changed the title [$215] Dupe detection -Not here page opens after navigating to confirm page by link and confirming it [$125] Dupe detection -Not here page opens after navigating to confirm page by link and confirming it Jul 20, 2024
Copy link

melvin-bot bot commented Jul 20, 2024

Upwork job price has been updated to $125

@mountiny
Copy link
Contributor

Made this external for half price as it seems like a quick fix

@mountiny mountiny removed the DeployBlocker Indicates it should block deploying the API label Jul 20, 2024
@dominictb
Copy link
Contributor

Proposal

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

  • After confirming the review, app redirects to not here page

What is the root cause of that problem?

  • When clicking on Confirm button, reviewDuplicates in this line is undefined since we cleared the cache, so it calls Navigation.navigate(ROUTES.REPORT_WITH_ID.getRoute(-1) in this line.

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

  • We should add the FullPageNotFoundView to confirmation page, with shouldShow={!reviewDuplicates}

@mountiny mountiny added Daily KSv2 and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Jul 21, 2024
@mountiny
Copy link
Contributor

Dupe detection is behind beta so we can remove the blocker

@mountiny mountiny assigned parasharrajat and unassigned rojiphil Jul 21, 2024
@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Jul 21, 2024
@Julesssss Julesssss assigned dominictb and unassigned dominictb Jul 22, 2024
@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Daily KSv2 Weekly KSv2 labels Jul 23, 2024
@melvin-bot melvin-bot bot changed the title [$125] Dupe detection -Not here page opens after navigating to confirm page by link and confirming it [HOLD for payment 2024-08-02] [$125] Dupe detection -Not here page opens after navigating to confirm page by link and confirming it Jul 26, 2024
Copy link

melvin-bot bot commented Jul 26, 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 Jul 26, 2024
Copy link

melvin-bot bot commented Jul 26, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.12-0 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-08-02. 🎊

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

Copy link

melvin-bot bot commented Jul 26, 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:

  • [@parasharrajat] The PR that introduced the bug has been identified. Link to the PR:
  • [@parasharrajat] 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:
  • [@parasharrajat] 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:
  • [@parasharrajat] Determine if we should create a regression test for this bug.
  • [@parasharrajat] 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 Aug 1, 2024
@garrettmknight
Copy link
Contributor

Payment Summary:

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

@parasharrajat can you finish the checklist when you get the chance?

@garrettmknight garrettmknight added Weekly KSv2 and removed Daily KSv2 labels Aug 5, 2024
@parasharrajat
Copy link
Member

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:

Regression Test Steps

  1. Go to NewDot.
  2. Go to workspace chat.
  3. Submit two same expenses (same amount and merchant).
  4. Go to transaction thread of any expense.
  5. Click Review duplicates.
  6. Click Keep this one (any).
  7. Proceed to confirmation page.
  8. Copy the link to confirmation page.
  9. Go to Account settings > Troubleshoot > Clear cache and restart > Reset and refresh.
  10. Navigate to the confirmation page via link.

Verify that: The RHP will show not found view

Do you agree 👍 or 👎 ?

@garrettmknight
Copy link
Contributor

QA is up - just waiting on payment request for @parasharrajat

@garrettmknight garrettmknight changed the title [HOLD for payment 2024-08-02] [$125] Dupe detection -Not here page opens after navigating to confirm page by link and confirming it [Awaiting Payment Request] [$125] Dupe detection -Not here page opens after navigating to confirm page by link and confirming it Aug 7, 2024
@parasharrajat
Copy link
Member

@garrettmknight feel free to close it. I will request it later.

@pecanoro pecanoro closed this as completed Aug 7, 2024
@parasharrajat
Copy link
Member

Payment requested as per #45832 (comment)

@JmillsExpensify
Copy link

$125 approved for @parasharrajat

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. Engineering External Added to denote the issue can be worked on by a contributor Weekly KSv2
Projects
Status: Done
Development

No branches or pull requests

9 participants