App icon indicating copy to clipboard operation
App copied to clipboard

[Wave 8] [Ideal Nav] App crashes when navigating to Settings/Overview page of a non-existent workspace

Open hayata-suenaga opened this issue 1 year ago β€’ 8 comments

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Version Number: Reproducible in staging?: Reproducible in production?: 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: Slack conversation:

Action Performed:

  1. On a browser, go to the Settings/Overview page of a workspace you don't have access to. You can use this example URL.

Expected Result:

Not-found page should appear

Actual Result:

The website crashes Screenshot 2024-02-01 at 9 05 00β€―PM

Workaround:

N/A

Platforms:

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

  • [x] Android: Native
  • [x] Android: mWeb Chrome
  • [x] iOS: Native
  • [x] iOS: mWeb Safari
  • [x] MacOS: Chrome / Safari
  • [x] MacOS: Desktop

Screenshots/Videos

Screenshot attached above

View all open jobs on GitHub

hayata-suenaga avatar Feb 02 '24 05:02 hayata-suenaga

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

melvin-bot[bot] avatar Feb 02 '24 05:02 melvin-bot[bot]

What does "existent" workspace mean? A workspace you don't have access to or literally just a made up URL after /workspace?

trjExpensify avatar Feb 02 '24 12:02 trjExpensify

@trjExpensify good question! both workspaces you don't have an access to and made-up workspaces

hayata-suenaga avatar Feb 02 '24 18:02 hayata-suenaga

Hi! I'm going to work on it :)

WojtekBoman avatar Feb 05 '24 07:02 WojtekBoman

Assigned you @WojtekBoman!

trjExpensify avatar Feb 05 '24 10:02 trjExpensify

@trjExpensify good question! both workspaces you don't have an access to and made-up workspaces

Okay, so I can't reproduce this one on staging when I modify the workspaceID to something that doesn't exist:

image

trjExpensify avatar Feb 05 '24 10:02 trjExpensify

Are there more conditions required than that? πŸ€”

trjExpensify avatar Feb 05 '24 10:02 trjExpensify

@trjExpensify thank you for checking this πŸ™‡

I have confirmed that the issue doesn't occur when accessing a non-existent report. The crash only happens when you try to access an existing report to which you don't have access.

hayata-suenaga avatar Feb 06 '24 00:02 hayata-suenaga

Existing report? I thought we were talking about workspaces here? πŸ€”

trjExpensify avatar Feb 07 '24 01:02 trjExpensify

sorry I meant workspace πŸ˜“

hayata-suenaga avatar Feb 08 '24 18:02 hayata-suenaga

Got it, okay. Looks like we have a PR up for this.

trjExpensify avatar Feb 08 '24 23:02 trjExpensify

Assigning @ntdiary as the C+

trjExpensify avatar Feb 08 '24 23:02 trjExpensify

How come this isn't closed @JmillsExpensify ? looks like the PR merged a while ago?

zanyrenney avatar Feb 23 '24 18:02 zanyrenney

I think melvin messages weren't triggered automatically.

C+ preview payment for @ntdiary is needed here. After the payment is made, we can close this issue πŸ‘

The pr was merged last week

hayata-suenaga avatar Feb 23 '24 19:02 hayata-suenaga

I'm applying to switch to NewDot for payment, it might be better to process it after approval. πŸ˜„

ntdiary avatar Feb 26 '24 07:02 ntdiary

This issue has not been updated in over 15 days. @JmillsExpensify, @ntdiary, @WojtekBoman, @hayata-suenaga eroding to Monthly issue.

P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!

melvin-bot[bot] avatar Mar 20 '24 19:03 melvin-bot[bot]

@JmillsExpensify this is ready for payment.

trjExpensify avatar Apr 08 '24 21:04 trjExpensify

@JmillsExpensify this is ready for payment.

Eh, haha, I almost forgot about these issues. πŸ˜‚ I wanted to switch to NewDot payment before, and still waiting to be added to the contributor policy.

ntdiary avatar Apr 09 '24 12:04 ntdiary

@JmillsExpensify, @ntdiary, @WojtekBoman, @hayata-suenaga Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

melvin-bot[bot] avatar Apr 12 '24 18:04 melvin-bot[bot]

waiting for payment

hayata-suenaga avatar Apr 12 '24 19:04 hayata-suenaga

waiting for payment

hayata-suenaga avatar Apr 15 '24 17:04 hayata-suenaga

Payment summary: $500 for @ntdiary for pr review and testing.

JmillsExpensify avatar Apr 17 '24 20:04 JmillsExpensify

Contract sent via upwork.

JmillsExpensify avatar Apr 17 '24 20:04 JmillsExpensify

Contract sent via upwork.

@JmillsExpensify thank you! Have accepted it. πŸ˜„

ntdiary avatar Apr 18 '24 00:04 ntdiary

Payment made

JmillsExpensify avatar Apr 18 '24 13:04 JmillsExpensify