Project

General

Profile

Actions

Anomalie #544

closed

ADMIN / Password Change cause a crash

Added by Yann Le Jeune almost 13 years ago. Updated over 7 years ago.

Status:
Fermé
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
21 July 2011
Due date:
% Done:

0%

Estimated time:
Élément(s):
Difficulté:

Description

Environment:

Request Method: GET

Request URL: http://ishtar.proxience.com/test/admin/ishtar_base/ishtaruser/80/password/

Django Version: 1.2.3

Python Version: 2.6.6

Installed Applications:

['django.contrib.auth',

'django.contrib.contenttypes',

'django.contrib.sessions',

'django.contrib.sites',

'django.contrib.messages',

'django.contrib.admin',

'registration',

'ishtar.ishtar_base']

Installed Middleware:

('django.middleware.common.CommonMiddleware',

'django.contrib.sessions.middleware.SessionMiddleware',

'django.middleware.csrf.CsrfViewMiddleware',

'django.contrib.auth.middleware.AuthenticationMiddleware',

'django.contrib.messages.middleware.MessageMiddleware')

Traceback:

File "/usr/lib/pymodules/python2.6/django/core/handlers/base.py" in get_response

  1. response = callback(request, *callback_args, **callback_kwargs)

File "/usr/lib/pymodules/python2.6/django/contrib/admin/options.py" in wrapper

  1. return self.admin_site.admin_view(view)(*args, **kwargs)

File "/usr/lib/pymodules/python2.6/django/utils/decorators.py" in _wrapped_view

  1. response = view_func(request, *args, **kwargs)

File "/usr/lib/pymodules/python2.6/django/views/decorators/cache.py" in _wrapped_view_func

  1. response = view_func(request, *args, **kwargs)

File "/usr/lib/pymodules/python2.6/django/contrib/admin/sites.py" in inner

  1. return view(request, *args, **kwargs)

File "/usr/lib/pymodules/python2.6/django/utils/decorators.py" in _wrapper

  1. return decorator(bound_func)(*args, **kwargs)

File "/usr/lib/pymodules/python2.6/django/utils/decorators.py" in _wrapped_view

  1. response = view_func(request, *args, **kwargs)

File "/usr/lib/pymodules/python2.6/django/utils/decorators.py" in bound_func

  1. return func(self, *args2, **kwargs2)

File "/usr/lib/pymodules/python2.6/django/db/transaction.py" in _commit_on_success

  1. res = func(*args, **kw)

File "/usr/lib/pymodules/python2.6/django/contrib/admin/options.py" in change_view

  1. obj = self.get_object(request, unquote(object_id))

File "/usr/lib/pymodules/python2.6/django/contrib/admin/options.py" in get_object

  1. return queryset.get(pk=object_id)

File "/usr/lib/pymodules/python2.6/django/db/models/query.py" in get

  1. clone = self.filter(*args, **kwargs)

File "/usr/lib/pymodules/python2.6/django/db/models/query.py" in filter

  1. return self._filter_or_exclude(False, *args, **kwargs)

File "/usr/lib/pymodules/python2.6/django/db/models/query.py" in _filter_or_exclude

  1. clone.query.add_q(Q(*args, **kwargs))

File "/usr/lib/pymodules/python2.6/django/db/models/sql/query.py" in add_q

  1. can_reuse=used_aliases)

File "/usr/lib/pymodules/python2.6/django/db/models/sql/query.py" in add_filter

  1. connector)

File "/usr/lib/pymodules/python2.6/django/db/models/sql/where.py" in add

  1. value = obj.prepare(lookup_type, value)

File "/usr/lib/pymodules/python2.6/django/db/models/sql/where.py" in prepare

  1. return self.field.get_prep_lookup(lookup_type, value)

File "/usr/lib/pymodules/python2.6/django/db/models/fields/related.py" in get_prep_lookup

  1. return self._pk_trace(value, 'get_prep_lookup', lookup_type)

File "/usr/lib/pymodules/python2.6/django/db/models/fields/related.py" in _pk_trace

  1. v = getattr(field, prep_func)(lookup_type, v, **kwargs)

File "/usr/lib/pymodules/python2.6/django/db/models/fields/init.py" in get_prep_lookup

  1. return self.get_prep_value(value)

File "/usr/lib/pymodules/python2.6/django/db/models/fields/init.py" in get_prep_value

  1. return int(value)

Exception Type: ValueError at /test/admin/ishtar_base/ishtaruser/80/password/

Exception Value: invalid literal for int() with base 10: '80/password'

Actions #1

Updated by Étienne Loks about 11 years ago

  • Status changed from Nouveau to À confirmer

Cannot reproduce. Seems to be fixed.

Actions #2

Updated by Étienne Loks over 10 years ago

  • Target version changed from 1.0 to 10
Actions #3

Updated by Étienne Loks almost 10 years ago

  • Status changed from À confirmer to Fermé
Actions #4

Updated by Étienne Loks over 7 years ago

  • Target version changed from 10 to 1.0
Actions

Also available in: Atom PDF