Postgres can't truncate the nickname if it's more than 30 characters
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
django-openid-auth |
New
|
Undecided
|
Unassigned |
Bug Description
If someone with a nickname (>30) tries to connect Postgres will throw an error :
Traceback (most recent call last):
File "/usr/lib/
response = callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/
resp = view_func(*args, **kwargs)
File "/usr/lib/
return view_func(*args, **kwargs)
File "/usr/lib/
user = authenticate(
File "/usr/lib/
user = backend.
File "/usr/lib/
user = self.create_
File "/usr/lib/
user = User.objects.
File "/usr/lib/
user.save()
File "/usr/lib/
self.
File "/usr/lib/
result = manager.
File "/usr/lib/
return insert_
File "/usr/lib/
return query.execute_
File "/usr/lib/
cursor = super(InsertQuery, self).execute_
File "/usr/lib/
cursor.
DataError: value too long for type character varying(30)
summary: |
- Postgres can't truncate the nickname if it's more than 30 caracters + Postgres can't truncate the nickname if it's more than 30 characters |