Project

General

Profile

Actions

Anomalie #539

closed

ACCOUNT CREATION : Crash when creating an account

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

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

100%

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

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

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

File "/usr/local/lib/python2.6/dist-packages/formwizard/forms.py" in call

  1. response = self.process_request(request, storage, *args, **kwargs)

File "/usr/local/lib/python2.6/dist-packages/formwizard/forms.py" in process_request

  1. return self.process_get_request(request, *args, **kwargs)

File "/usr/local/lib/python2.6/dist-packages/formwizard/forms.py" in process_get_request

  1. self.get_last_step(request, storage))), **kwargs)

File "/usr/local/lib/python2.6/dist-packages/formwizard/forms.py" in render_done

  1. request, storage, form, **kwargs)

File "/usr/local/lib/python2.6/dist-packages/formwizard/forms.py" in render_done

  1. done_response = self.done(request, storage, final_form_list, **kwargs)

File "/var/local/ishtar-test/ishtar/ishtar_base/forms_common.py" in done

  1. account.save()

File "/usr/lib/pymodules/python2.6/django/db/models/base.py" in save

  1. 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

  1. self.save_base(cls=parent, origin=org, using=using)

File "/usr/lib/pymodules/python2.6/django/db/models/base.py" in save_base

  1. result = manager._insert(values, return_id=update_pk, using=using)

File "/usr/lib/pymodules/python2.6/django/db/models/manager.py" in _insert

  1. return insert_query(self.model, values, **kwargs)

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

  1. 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

  1. cursor = super(SQLInsertCompiler, self).execute_sql(None)

File "/usr/lib/pymodules/python2.6/django/db/models/sql/compiler.py" in execute_sql

  1. cursor.execute(sql, params)

File "/usr/lib/pymodules/python2.6/django/db/backends/util.py" in execute

  1. return self.cursor.execute(sql, params)

File "/usr/lib/pymodules/python2.6/django/db/backends/postgresql_psycopg2/base.py" in execute

  1. 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 »

Actions #1

Updated by Yann Le Jeune almost 13 years ago

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 ?

Actions #2

Updated by Anonymous almost 13 years ago

  • % Done changed from 0 to 100
  • Status changed from Nouveau to Fermé

Appliqué par commit commit:"fa941f78160f62ecd0cc0dd5300adeac332c36a5".

Actions

Also available in: Atom PDF