If a LP name more than 30 characters long, User creation fails

Bug #622957 reported by Dave Morley
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
django-openid-auth
New
Undecided
Unassigned

Bug Description

Bug Description:

This applies to sreg-provided nicknames in general - if the nickname is more than 30 characters long (the current limit for Django User's username field) user creation will fail miserably. In particular, if you deactivate your account in launchpad it adds -DeactivatedAccount to the end of you username. The username in this instance was my testing account tester-davmor2. This took the username over the 30 character limit.

OS:
64bit Lucid

Browser:
FF 3.6.8

Problem URL:
N/A

Steps To Reproduce:
1. Set your username on LP to longer than 30 characters (deactivating you LP account, then re-enabling it helps).
3. Try to sign into some site that uses Django OpenID auth with your Launchpad OpenID (note that you shouldn't have a user already created on the site)

Expected Result:
I expect to be able to login in.

summary: - If a LP account is deactivated the account name becomes more than 30
- characters
+ If a LP name more than 30 characters long, User creation fails
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.