Closed Bug 1029044 Opened 10 years ago Closed 10 years ago

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

Categories

(addons.mozilla.org Graveyard :: Admin/Editor Tools, defect, P1)

Tracking

(Not tracked)

VERIFIED FIXED
2014-07

People

(Reporter: clouserw, Assigned: magopian)

References

()

Details

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
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
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.
Fixed in https://github.com/mozilla/olympia/commit/6b22d8b0640751ecb841fc4e6fa7ed41e9148b0f
Status: NEW → RESOLVED
Closed: 10 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.