LP users not being created when necessary

Bug #652078 reported by Anthony Lenton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Software Center Agent
Fix Released
Critical
Anthony Lenton

Bug Description

Bug #611246 was fixed by adding a call to check if there was a LP user for a particular SSO account, and to create one if not.

Problem is SCA is currently only calling that when the username matches the openid_identifier, as it was incorrectly believed that django_openid_auth would create users with matching usernames and openid_identifiers if no nick was provided by SSO. It is instead creating them with usernames like 'openiduserN', with N getting incrementally bigger each time.

So LP accounts are currently not being created for non-LP users, hence people without a LP account associated to their SSO account will not be able to purchase software yet.

The current implementation also has the problem that user creation will get progressively slower, as it has to search longer each time for the first available 'openiduserN' username. Bug #652075 should fix this, but updating the username from the one LP returns would alleviate the issue considerably.

Changed in software-center-agent:
importance: Undecided → Critical
assignee: nobody → Anthony Lenton (elachuni)
Changed in software-center-agent:
status: New → In Progress
Changed in software-center-agent:
status: In Progress → Fix Committed
milestone: none → 10.10
Dave Morley (davmor2)
Changed in canonical-isd-qa:
assignee: nobody → Dave Morley (davmor2)
Dave Morley (davmor2)
Changed in canonical-isd-qa:
status: New → Fix Committed
Dave Morley (davmor2)
Changed in canonical-isd-qa:
status: Fix Committed → Fix Released
Changed in software-center-agent:
status: Fix Committed → Fix Released
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.