-
-
Notifications
You must be signed in to change notification settings - Fork 775
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
bug: sentry fixes #9334
bug: sentry fixes #9334
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are some code scan warnings that GitHub flagged. Have these been addressed?
@zacheryschiller if you notice those aren't related to changes made on this PR ! We can open up a follow up PR to fix those up |
@@ -2161,7 +2161,7 @@ def user_card(request, handle): | |||
except (ProfileNotFoundException, ProfileHiddenException): | |||
raise Http404 | |||
|
|||
if request.user.is_authenticated: | |||
if request.user.is_authenticated and request.user.profile: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this a symptom of a different problem? Why do we have authenticated users without Profiles
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
** As discussed we will get this in now and open a new ticket to investigate the cause
Description
Refers/Fixes
Testing
Tested locally