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 2023-06-21] [$1000] Chat - Page loads infinitely instead of error page when accessing invalid link #20394

Closed
2 of 6 tasks
lanitochka17 opened this issue Jun 7, 2023 · 36 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 External Added to denote the issue can be worked on by a contributor

Comments

@lanitochka17
Copy link

lanitochka17 commented Jun 7, 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!


Action Performed:

Scenario 1:

  1. Copy IOU link which the logged-in user does not have access to.
  2. Paste it on a new tab.

Scenario 2:

  1. Go to https://staging.new.expensify.com/
  2. Copy a chat link.
  3. Paste it on the browser.

Scenario 3:

  1. Go to invalid chat link. For example, https://staging.new.expensify.com/r/1234.

Expected Result:

Scenario 1: User lands on error page because they do not have access to the link.
Scenario 2: User is able to open the chat link.
Scenario 3: User lands on error page because they do not have access to the link.

Actual Result:

Scenario 1: User lands on the page which loads infinitely instead of error page.
Scenario 2: User is able to open the chat link.
Scenario 3: User lands on the page which loads infinitely instead of error page.

Workaround:

Unknown

Platforms:

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

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • MacOS / Chrome / Safari
  • MacOS / Desktop

Version Number: 1.3.25.2

Reproducible in staging?: Yes

Reproducible in production?: Yes

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

Notes/Photos/Videos: Any additional supporting documentation

Bug6083700_bandicam_2023-06-07_23-54-48-588.mp4

Expensify/Expensify Issue URL:

Issue reported by: Applause - Internal Team / @adeel0202

Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1686035561587859

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~0164184e82be52ad8b
  • Upwork Job ID: 1666509686563983360
  • Last Price Increase: 2023-06-07
@lanitochka17 lanitochka17 added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Jun 7, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 7, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Jun 7, 2023

Bug0 Triage Checklist (Main S/O)

  • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
  • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
    • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
  • This bug is reproducible using the reproduction steps in the OP. S/O
    • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
    • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
  • This issue is filled out as thoroughly and clearly as possible
    • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
  • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

@abekkala abekkala added the External Added to denote the issue can be worked on by a contributor label Jun 7, 2023
@melvin-bot melvin-bot bot changed the title Chat - Page loads infinitely instead of error page when accessing invalid link [$1000] Chat - Page loads infinitely instead of error page when accessing invalid link Jun 7, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 7, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Jun 7, 2023

Current assignee @abekkala is eligible for the External assigner, not assigning anyone new.

@melvin-bot
Copy link

melvin-bot bot commented Jun 7, 2023

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

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Jun 7, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 7, 2023

Triggered auto assignment to @aldo-expensify (External), see https://stackoverflow.com/c/expensify/questions/7972 for more details.

@aldo-expensify
Copy link
Contributor

In the scenario 3, I also see that the OpenReport request is sent a LOT of times:

image

@aldo-expensify
Copy link
Contributor

aldo-expensify commented Jun 7, 2023

@abekkala , this look like something Internal as the server is not sending any error data for onyx

Update: I'm wrong, it was a change in the front.

@aldo-expensify aldo-expensify added External Added to denote the issue can be worked on by a contributor Internal Requires API changes or must be handled by Expensify staff and removed External Added to denote the issue can be worked on by a contributor labels Jun 7, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 7, 2023

Current assignee @abekkala is eligible for the External assigner, not assigning anyone new.

@melvin-bot
Copy link

melvin-bot bot commented Jun 7, 2023

Current assignee @rushatgabhane is eligible for the Internal assigner, not assigning anyone new.

@aldo-expensify aldo-expensify removed the External Added to denote the issue can be worked on by a contributor label Jun 7, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 7, 2023

Current assignee @rushatgabhane is eligible for the External assigner, not assigning anyone new.

@melvin-bot
Copy link

melvin-bot bot commented Jun 7, 2023

Current assignee @aldo-expensify is eligible for the External assigner, not assigning anyone new.

@aldo-expensify
Copy link
Contributor

This seems to be a regression caused by: #20076

@fedirjh
Copy link
Contributor

fedirjh commented Jun 7, 2023

@aldo-expensify Can you please assign me this issue as it is a regression indeed . we should assign @dukenv0307 as well.

@dukenv0307
Copy link
Contributor

@fedirjh I'm investigating the PR now

@melvin-bot melvin-bot bot added the Reviewing Has a PR in review label Jun 7, 2023
@dukenv0307
Copy link
Contributor

@fedirjh @aldo-expensify The PR is ready to review

@aldo-expensify
Copy link
Contributor

Merged the fix, thanks @dukenv0307 and @fedirjh !

@twisterdotcom
Copy link
Contributor

Going to take this from April as it's a regression from my #19364

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Daily KSv2 labels Jun 14, 2023
@melvin-bot melvin-bot bot changed the title [$1000] Chat - Page loads infinitely instead of error page when accessing invalid link [HOLD for payment 2023-06-21] [$1000] Chat - Page loads infinitely instead of error page when accessing invalid link Jun 14, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 14, 2023

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

@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Jun 14, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 14, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.27-7 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 2023-06-21. 🎊

After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

  • External issue reporter
  • Contributor that fixed the issue
  • Contributor+ that helped on the issue and/or PR

As a reminder, here are the bonuses/penalties that should be applied for any External issue:

  • Merged PR within 3 business days of assignment - 50% bonus
  • Merged PR more than 9 business days after assignment - 50% penalty

@melvin-bot
Copy link

melvin-bot bot commented Jun 14, 2023

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:

  • [@fedirjh] The PR that introduced the bug has been identified. Link to the PR:
  • [@fedirjh] 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:
  • [@fedirjh] 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:
  • [@fedirjh] Determine if we should create a regression test for this bug.
  • [@fedirjh] 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.
  • [@twisterdotcom] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@melvin-bot
Copy link

melvin-bot bot commented Jun 15, 2023

⚠️ Looks like this issue was linked to a Deploy Blocker here

If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

If a regression has occurred and you are the assigned CM follow the instructions here.

If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Jun 21, 2023
@twisterdotcom
Copy link
Contributor

Paid this out as a bonus to the linked #19364

@adeel0202
Copy link
Contributor

Hi @twisterdotcom, I wasn't paid for reporting this bug (Scenario 1).

@adeel0202
Copy link
Contributor

@twisterdotcom a friendly bump 😅

@aldo-expensify
Copy link
Contributor

Reopening since there seem to be a pending payment

@twisterdotcom
Copy link
Contributor

Sent the offer for this!

@melvin-bot melvin-bot bot added the Overdue label Jul 13, 2023
@twisterdotcom
Copy link
Contributor

Paid.

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 External Added to denote the issue can be worked on by a contributor
Projects
None yet
Development

No branches or pull requests

9 participants