Closed
Bug 698699
Opened 14 years ago
Closed 13 years ago
500 error when trying to view any profile on mozillians-dev
Categories
(Participation Infrastructure :: Phonebook, defect)
Participation Infrastructure
Phonebook
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: Tobbi, Assigned: tofumatt)
Details
I think this is something which might have regressed in a recent commit
STR:
1. Login with your credentials.
2. Search for any user (I searched for 'o')
3. Click that user profile.
Traceback (most recent call last):
File "/data/www/mozillians-dev.allizom.org/mozillians/vendor/src/django/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/data/www/mozillians-dev.allizom.org/mozillians/vendor/src/django/django/views/decorators/cache.py", line 88, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File "/data/www/mozillians-dev.allizom.org/mozillians/vendor/src/django/django/contrib/auth/decorators.py", line 19, in _wrapped_view
return view_func(request, *args, **kwargs)
File "/data/www/mozillians-dev.allizom.org/mozillians/apps/phonebook/views.py", line 62, in profile_uid
return _profile(request, person, needs_master)
File "/data/www/mozillians-dev.allizom.org/mozillians/apps/phonebook/views.py", line 103, in _profile
groups = person.get_profile().groups.all()
File "/data/www/mozillians-dev.allizom.org/mozillians/apps/larper/__init__.py", line 546, in get_profile
return User.objects.get(email=self.username).get_profile()
File "/data/www/mozillians-dev.allizom.org/mozillians/vendor/src/django/django/db/models/manager.py", line 132, in get
return self.get_query_set().get(*args, **kwargs)
File "/data/www/mozillians-dev.allizom.org/mozillians/vendor/src/django/django/db/models/query.py", line 349, in get
% self.model._meta.object_name)
DoesNotExist: User matching query does not exist.
(Did we accidentally wipe out the entire database somehow or was there a schema change, or something similar?)
| Assignee | ||
Updated•13 years ago
|
Assignee: nobody → tofumatt
Comment 1•13 years ago
|
||
Commit pushed to https://github.com/mozilla/mozillians
https://github.com/mozilla/mozillians/commit/944a70ce81e9b251d151f5212923986a2c575cb5
Fix majority of User-related ISE errors, hopefully
These are extremely hacky, fragile fixes but we're going to use
them to cut down on 500s and log what/when/where things are
happening.
It should be true that this commit:
* fixes bug 698699
* fixes bug 699234
* fixes bug 699865
* fixes bug 700602
And possibly others. If so I'll mark them as such.
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Comment 2•13 years ago
|
||
QA verified on dev. Following steps in comment 0 no longer return 500 errors. I clicked on vouched non-vouched profiles.
Status: RESOLVED → VERIFIED
Updated•13 years ago
|
Component: mozillians.org → Phonebook
Product: Websites → Community Tools
QA Contact: mozillians-org → phonebook
Version: unspecified → other
You need to log in
before you can comment on or make changes to this bug.
Description
•