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 11 August] [Crash] App crashes on directly opening the user details #3924

Closed
parasharrajat opened this issue Jul 8, 2021 · 15 comments · Fixed by #4291
Closed
Assignees
Labels
Engineering External Added to denote the issue can be worked on by a contributor Reviewing Has a PR in review Weekly KSv2

Comments

@parasharrajat
Copy link
Member

parasharrajat commented Jul 8, 2021

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:

  1. Open any 1:1 conversation on E.cash.
  2. Click the Chat title.
  3. User details page should open.
  4. Reload the page on the web.

Expected Result:

App Should not crash.

Actual Result:

On local we see error 404 page not found and on staging App crashes.

Workaround:

Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
go back to the Home page and then navigate to the user details.

Platform:

Where is this issue occurring?

Web ✔️
iOS
Android
Desktop App
Mobile Web ✔️

Version Number: latest
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation

crash.mp4

Expensify/Expensify Issue URL:

View all open jobs on Upwork

@parasharrajat parasharrajat added the AutoAssignerTriage Auto assign issues for triage to an available triage team member label Jul 8, 2021
@MelvinBot
Copy link

Triggered auto assignment to @laurenreidexpensify (AutoAssignerTriage), see https://stackoverflow.com/c/expensify/questions/4749 for more details.

@MelvinBot MelvinBot removed the AutoAssignerTriage Auto assign issues for triage to an available triage team member label Jul 8, 2021
@parasharrajat
Copy link
Member Author

Explanation

  1. I think that the URL for the details page is wrong and it leads to a page crash. There is an escaped @ in the URL which is the main issue.

Proposal

  1. We have two choices
    a. We either override the URL parsing and then handle this type of URL manually.
    b. We change the URL to something else. https://staging.expensify.cash/details/:login to https://staging.expensify.cash/details?login=:login.

I am a little unsure of the a but b works great. Suggestions are welcomed.

@laurenreidexpensify
Copy link
Contributor

sorry @parasharrajat I missed this one - would you be able to confirm if it's still an issue?

@parasharrajat
Copy link
Member Author

parasharrajat commented Jul 20, 2021

Yes. Try opening this URL. Then open the chat with Matt and click on the chat header to see details. If this works, the former should work.

@laurenreidexpensify
Copy link
Contributor

@parasharrajat I'm struggling to replicate this - can you record this happening so I understand a bit better? Thanks!

@parasharrajat
Copy link
Member Author

@laurenreidexpensify take a look at this video. let me know if it is still unclear to you.

crash.mp4

@laurenreidexpensify
Copy link
Contributor

ah perfect thanks - yeah just reproduced and observed same behaviour. Sending this to our engineering team for review 👍🏽

@MelvinBot
Copy link

Triggered auto assignment to @chiragsalian (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

@laurenreidexpensify
Copy link
Contributor

@chiragsalian can you pls review triage review this today so we can move this to upwork and get an external contributor to fix? thanks

@MelvinBot MelvinBot removed the Overdue label Jul 26, 2021
@chiragsalian chiragsalian added the External Added to denote the issue can be worked on by a contributor label Jul 26, 2021
@chiragsalian
Copy link
Contributor

Yup, was able to reproduce the same issue. Feel free to post this on upwork and yeah @parasharrajat your proposal 1.b sounds good to me 👍

@laurenreidexpensify
Copy link
Contributor

@parasharrajat post live on Upwork here https://www.upwork.com/jobs/~01e0e7e6f35535026c so I can hire you, assuming you want to move ahead to PR on this one?

@MelvinBot MelvinBot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Jul 26, 2021
@parasharrajat
Copy link
Member Author

Hi @laurenreidexpensify. It is done. PR will be pushed shortly.

@laurenreidexpensify laurenreidexpensify removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Jul 27, 2021
@laurenreidexpensify
Copy link
Contributor

@parasharrajat is there PR for this one yet?

@MelvinBot MelvinBot removed the Overdue label Jul 28, 2021
@parasharrajat
Copy link
Member Author

It is ready but I am waiting for some clarification about the issue with react-navigation before creating the PR.

@chiragsalian chiragsalian added the Reviewing Has a PR in review label Jul 29, 2021
@laurenreidexpensify laurenreidexpensify changed the title [Crash] App crashes on directly opening the user details [Hold for Payment 11 August] [Crash] App crashes on directly opening the user details Aug 4, 2021
@laurenreidexpensify laurenreidexpensify added Weekly KSv2 and removed Daily KSv2 labels Aug 5, 2021
@laurenreidexpensify
Copy link
Contributor

No regressions - paid 👍🏽

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Engineering External Added to denote the issue can be worked on by a contributor Reviewing Has a PR in review Weekly KSv2
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants