-
Notifications
You must be signed in to change notification settings - Fork 3k
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-06-13] User profile - App shows Hidden profile instead of not here page when profile link is invalid #42750
Comments
Triggered auto assignment to @carlosmiceli ( |
Triggered auto assignment to @joekaufmanexpensify ( |
👋 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:
|
@joekaufmanexpensify 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. |
We think this issue might be related to the #vip-vsb. |
Production bandicam.2024-05-29.14-29-34-189.mp4 |
ProposalPlease re-state the problem that we are trying to solve in this issue.User profile - App shows Hidden profile instead of not here page when profile link is invalid What is the root cause of that problem?The problem is that #41846 changed to a condition to check if the Lines 141 to 142 in 6726431
Therefore, the What changes do you think we should make in order to solve the problem?We need to check if the user is not found by checking if the user account is not Nan for the |
hey I did the PR that broke this, but I was originally tried to fix this problem: #40989 which was exactly the reverse - that in offline mode we showed not found page. However I see the underlying problem - in offline mode, when api is not available how can the App tell whether an email is valid or not? I'm happy to provide a fix but Im not sure what behavior we want re: invalid profile/profile in offline mode? |
@Kicu, After rechecking the problem, it has to do with the |
oh thanks for extra info 👍
is not something I added - that was already there. I will be monitoring this task if any further changes are needed but at this moment I'm unsure what I could fix/change. |
I will take this over as i am reviewer on that pr |
Thanks Vit! |
Hey @Kicu, the line below makes
So, this new condition should work.
|
Okey great suggestion, thanks. |
@Kicu yeah if you could raise a PR that would be great. Is there an ETA for when you could have one up? |
Since I am pretty free, could I raise the PR? Thanks |
@Tony-MK generally we try have the same person who introduced a deploy blocker fix it, if they're available. We appreciate your enthusiasm though! |
I will do it |
Thanks for the discussion, I think that this is very specific flow that user will not really get into. And if they will, the App works fine, and does not crash or anything so I think @Kicu @s77rt should fix this as the authors of the original PR with urgency, but I will remove the deploy blocker label |
PR with fix is here: #42769 I hope there is no more edge cases for this view that I missed, but what I did should be equivalent to the code that was handling this previously |
PR awaiting deploy |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.79-11 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-06-13. 🎊 For reference, here are some details about the assignees on this issue: |
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:
|
Closing as this is on production, thanks everyone! |
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: 1.4.76-0
Reproducible in staging?: Y
Reproducible in production?: N
Found when executing PR : #42464
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team
Action Performed:
).
Expected Result:
App will show not here page.
Actual Result:
App shows profile of a Hidden user.
When clicking on Message Hidden, the report shows error.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6494994_1716979769510.invalid_user.mp4
View all open jobs on GitHub
Issue Owner
Current Issue Owner: @joekaufmanexpensifyThe text was updated successfully, but these errors were encountered: