Anomalie #539
ferméACCOUNT CREATION : Crash when creating an account
100%
Description
Environment:
Request Method: GET
Request URL: http://ishtar.proxience.com/test/account_management/done
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
- response = callback(request, *callback_args, **callback_kwargs)
File "/usr/local/lib/python2.6/dist-packages/formwizard/forms.py" in call
- response = self.process_request(request, storage, *args, **kwargs)
File "/usr/local/lib/python2.6/dist-packages/formwizard/forms.py" in process_request
- return self.process_get_request(request, *args, **kwargs)
File "/usr/local/lib/python2.6/dist-packages/formwizard/forms.py" in process_get_request
- self.get_last_step(request, storage))), **kwargs)
File "/usr/local/lib/python2.6/dist-packages/formwizard/forms.py" in render_done
- request, storage, form, **kwargs)
File "/usr/local/lib/python2.6/dist-packages/formwizard/forms.py" in render_done
- done_response = self.done(request, storage, final_form_list, **kwargs)
File "/var/local/ishtar-test/ishtar/ishtar_base/forms_common.py" in done
- account.save()
File "/usr/lib/pymodules/python2.6/django/db/models/base.py" in save
- self.save_base(using=using, force_insert=force_insert, force_update=force_update)
File "/usr/lib/pymodules/python2.6/django/db/models/base.py" in save_base
- self.save_base(cls=parent, origin=org, using=using)
File "/usr/lib/pymodules/python2.6/django/db/models/base.py" in save_base
- result = manager._insert(values, return_id=update_pk, using=using)
File "/usr/lib/pymodules/python2.6/django/db/models/manager.py" in _insert
- return insert_query(self.model, values, **kwargs)
File "/usr/lib/pymodules/python2.6/django/db/models/query.py" in insert_query
- return query.get_compiler(using=using).execute_sql(return_id)
File "/usr/lib/pymodules/python2.6/django/db/models/sql/compiler.py" in execute_sql
- cursor = super(SQLInsertCompiler, self).execute_sql(None)
File "/usr/lib/pymodules/python2.6/django/db/models/sql/compiler.py" in execute_sql
- cursor.execute(sql, params)
File "/usr/lib/pymodules/python2.6/django/db/backends/util.py" in execute
- return self.cursor.execute(sql, params)
File "/usr/lib/pymodules/python2.6/django/db/backends/postgresql_psycopg2/base.py" in execute
- return self.cursor.execute(query, args)
Exception Type: IntegrityError at /test/account_management/done
Exception Value: ERREUR: la valeur d'une clé dupliquée rompt la contrainte unique « auth_user_username_key »
Mis à jour par Yann Le Jeune il y a plus de 13 ans
Maybe it's a problem with length of id and/or password ?
It also seems that it's possible to create a password with exotic char whereas it's not possible to log with.
A lack of control on the account creation process ?
Mis à jour par Anonyme il y a plus de 13 ans
- % réalisé changé de 0 à 100
- Statut changé de Nouveau à Fermé
Appliqué par commit commit:"fa941f78160f62ecd0cc0dd5300adeac332c36a5".