Closed
Bug 688009
Opened 14 years ago
Closed 14 years ago
[traceback] NO_SUCH_PERSON: Unable to locale 12c8db3e15 in the LDAP directory
Categories
(Participation Infrastructure :: Phonebook, defect, P2)
Participation Infrastructure
Phonebook
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: retornam, Assigned: ozten)
References
()
Details
Traceback (most recent call last):
File "/data/www/mozillians.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.allizom.org/mozillians/apps/phonebook/views.py", line 106, in edit_new_profile
return _edit_profile(request, unique_id, True)
File "/data/www/mozillians.allizom.org/mozillians/apps/phonebook/views.py", line 111, in _edit_profile
person = ldap.get_by_unique_id(unique_id)
File "/data/www/mozillians.allizom.org/mozillians/apps/larper/__init__.py", line 173, in get_by_unique_id
raise NO_SUCH_PERSON(msg % unique_id)
| Assignee | ||
Comment 1•14 years ago
|
||
I can't repro. Logically this could happen if there was a bug in the ldap connection pooling logic.
I've added some tests there and simplified
https://github.com/mozilla/mozillians/commit/32df0de38d323cecfb572606ccd7e3d493ae5129
Ultimately, we'll need Steps to Reproduce before we can act on this Traceback.
Comment 2•14 years ago
|
||
Raymond,
Is this the intermittent errors on registration?
I can confirm if so, and give STR which is just going through registration :(
Personally I'd write a selenium script to run through it a few times til you trigger it.
Updated•14 years ago
|
Priority: -- → P2
Target Milestone: --- → 1.0
Comment 3•14 years ago
|
||
1) A quick and easy repro case for me to hit this was:
A) Log in
B) Hit up a URL that's not yours, like https://mozillians.allizom.org/en-US/user/edit/cbac836cb6
2) Also, shouldn't this be "locate", rather than "locale". I know, I know, minor nit.
OS: Mac OS X → All
Hardware: x86 → All
Summary: NO_SUCH_PERSON: Unable to locale 12c8db3e15 in the LDAP directory → [traceback] NO_SUCH_PERSON: Unable to locale 12c8db3e15 in the LDAP directory
| Assignee | ||
Comment 4•14 years ago
|
||
(In reply to Stephen Donner [:stephend] from comment #3)
> 2) Also, shouldn't this be "locate", rather than "locale". I know, I know, minor nit.
Good call. http://git.io/pFYEGA
Comment 5•14 years ago
|
||
Commit pushed to https://github.com/mozilla/mozillians
https://github.com/mozilla/mozillians/commit/61559b7b40074a8fee40fe5a2ff09a9ccf8c0a4f
Catching failed lookup when a pending user tries to view or edit another person's profile. Fixes bug#688009
| Assignee | ||
Comment 6•14 years ago
|
||
(In reply to Stephen Donner [:stephend] from comment #3)
> A) Log in
A) Log in as a pending user
I've tweaked this to be a 404.
Assignee: nobody → ozten.bugs
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Updated•14 years ago
|
Component: mozillians.org → Phonebook
Product: Websites → Community Tools
QA Contact: mozillians-org → phonebook
Target Milestone: 1.0 → ---
Version: unspecified → other
You need to log in
before you can comment on or make changes to this bug.
Description
•