Closed Bug 688121 Opened 13 years ago Closed 13 years ago

Something Went Wrong when editing a user profile on mozillians-dev.allizom.org

Categories

(Participation Infrastructure :: Phonebook, defect, P1)

Tracking

(Not tracked)

VERIFIED INVALID

People

(Reporter: mgoodwin, Assigned: tofumatt)

Details

I logged in, went to 'Profile', clicked on 'Edit my Profile' and got the 'We're Sorry, but Something Went Wrong' page (complete with green tumblebeast running away with unspecified piece of hardware). This is slightly problematic as it's part of the functionality I'm supposed to be performing security review on.
This also happens for other accounts I've tried; it's not limited to a single user profile.
Assignee: nobody → tofumatt
Priority: -- → P1
Target Milestone: --- → 1.0
This happens when changing a password as well.
On stage STR 1) login 2) edit profile Expected: Can edit profile Actual: 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 102, in edit_profile return _edit_profile(request, unique_id, False) File "/data/www/mozillians.allizom.org/mozillians/apps/phonebook/views.py", line 123, in _edit_profile ldap.update_person(unique_id, form.cleaned_data) File "/data/www/mozillians.allizom.org/mozillians/apps/larper/__init__.py", line 238, in update_person conn = self._ensure_conn(WRITE) File "/data/www/mozillians.allizom.org/mozillians/apps/larper/__init__.py", line 118, in _ensure_conn self.conn.bind_s(dn, password) File "/usr/lib/python2.6/site-packages/ldap/ldapobject.py", line 221, in bind_s return self.result(msgid,all=1,timeout=self.timeout) File "/usr/lib/python2.6/site-packages/ldap/ldapobject.py", line 436, in result res_type,res_data,res_msgid = self.result2(msgid,all,timeout) File "/usr/lib/python2.6/site-packages/ldap/ldapobject.py", line 440, in result2 res_type, res_data, res_msgid, srv_ctrls = self.result3(msgid,all,timeout) File "/usr/lib/python2.6/site-packages/ldap/ldapobject.py", line 446, in result3 ldap_result = self._ldap_call(self._l.result3,msgid,all,timeout) File "/usr/lib/python2.6/site-packages/ldap/ldapobject.py", line 96, in _ldap_call result = func(*args,**kwargs) INVALID_CREDENTIALS: {'desc': 'Invalid credentials'}
After fixing an unrelated issue (http://git.io/goGAQg), this does not repro in dev. Looking at stack trace to figure out if this is a config issue...
A possible issue is the dn/password which we pull out of the signed cookie isn't working properly. The stacktrace is saying it couldn't bind as the user.
This no longer reproduces with stage config fixed in Bug#688204.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → INVALID
I can not reproduce this either. Verifying.
Status: RESOLVED → VERIFIED
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.