Closed Bug 785521 Opened 13 years ago Closed 12 years ago

[traceback] KeyError: 'password'

Categories

(Marketplace Graveyard :: Admin Tools, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: krupa.mozbugs, Assigned: jrconlin)

References

()

Details

steps to reproduce: 1. Load https://marketplace-dev.allizom.org/admin/models/auth/user/6382801/ 2. Make some changes to this user's profile (I added 'Staff status') and save changes. traceback details: Stacktrace (most recent call last): File "django/core/handlers/base.py", line 111, in get_response response = callback(request, *callback_args, **callback_kwargs) File "django/contrib/admin/options.py", line 366, in wrapper return self.admin_site.admin_view(view)(*args, **kwargs) File "django/utils/decorators.py", line 91, in _wrapped_view response = view_func(request, *args, **kwargs) File "django/views/decorators/cache.py", line 89, in _wrapped_view_func response = view_func(request, *args, **kwargs) File "django/contrib/admin/sites.py", line 196, in inner return view(request, *args, **kwargs) File "django/utils/decorators.py", line 25, in _wrapper return bound_func(*args, **kwargs) File "django/utils/decorators.py", line 91, in _wrapped_view response = view_func(request, *args, **kwargs) File "django/utils/decorators.py", line 21, in bound_func return func(self, *args2, **kwargs2) File "django/db/transaction.py", line 209, in inner return func(*args, **kwargs) File "django/contrib/admin/options.py", line 1035, in change_view if form.is_valid(): File "django/forms/forms.py", line 124, in is_valid return self.is_bound and not bool(self.errors) File "django/forms/forms.py", line 115, in _get_errors self.full_clean() File "django/forms/forms.py", line 270, in full_clean self._clean_fields() File "django/forms/forms.py", line 290, in _clean_fields value = getattr(self, 'clean_%s' % name)() File "django/contrib/auth/forms.py", line 122, in clean_password return self.initial["password"] KeyError: 'password'
Krupa, we're likely going to remove all these admin tools. What do you use this for?
Flags: needinfo?(krupa.mozbugs)
potch, I was trying to give select permissions (in this case, giving access to our Featured tool) to one of the users.
Flags: needinfo?(krupa.mozbugs)
You can use the groups admin view to adjust permissions. Potch is correct, we're trying to get rid of these pages.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.