[traceback] ; Loading edit user page is a 500 error

VERIFIED FIXED in 2014-07

Status

P1
major
VERIFIED FIXED
4 years ago
3 years ago

People

(Reporter: clouserw, Assigned: magopian)

Tracking

unspecified
2014-07

Details

(URL)

(Reporter)

Description

4 years ago
Sentry URL:

http://sentry.mktmon.services.phx1.mozilla.com/mkt/addonsmozillaorg/group/7188/


Aggregate Details:

* First Seen: June 16, 2014
* Last Seen: 1 minute ago
* Number of tracebacks: undefined


Traceback:

Stacktrace (most recent call last):

  File "django/core/handlers/base.py", line 112, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "amo/decorators.py", line 165, in wrapper
    return f(*args, **kw)
  File "amo/decorators.py", line 152, in __call__
    return self.f(*args, **kw)
  File "python2.6/contextlib.py", line 34, in __exit__
    self.gen.throw(type, value, traceback)
  File "amo/models.py", line 38, in skip_cache
    yield
  File "amo/decorators.py", line 152, in __call__
    return self.f(*args, **kw)
  File "amo/decorators.py", line 32, in wrapper
    return func(request, *args, **kw)
  File "amo/decorators.py", line 32, in wrapper
    return func(request, *args, **kw)
  File "amo/decorators.py", line 62, in wrapper
    return f(request, *args, **kw)
  File "users/views.py", line 71, in wrapper
    return f(request, user, *args, **kw)
  File "users/views.py", line 242, in admin_edit
    form = forms.AdminUserEditForm(instance=user)
  File "users/forms.py", line 327, in __init__
    self.initial['lang'] = self.request.LANG
This is probably blocking a developer from updating their add-on.
Severity: normal → major
(Reporter)

Comment 2

4 years ago
Development starts again on the 30th
Priority: P2 → P1
Here's another account that presents a similar (or the same) problem:
https://addons.mozilla.org/user/jcwacky-1364600185.72/
Assignee: nobody → mathieu
(Assignee)

Comment 5

4 years ago
PR: https://github.com/mozilla/olympia/pull/132

STR: Try to edit another user while being logged in as admin. If you are able to do it, the bug is fixed.
(Assignee)

Comment 6

4 years ago
Fixed in https://github.com/mozilla/olympia/commit/6b22d8b0640751ecb841fc4e6fa7ed41e9148b0f
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.