Change the way of generating user_slug for duplicate user names
No description provided.
Comments (4)
-
-
Investigation Result
The issue occurred because the Openshift server is not properly cleared when resetting the Portal db. Openshift currently contains a ghost user named test01, but Portal db doesn’t have that. When Portal asks Openshift to create test01, Openshift returns
Error: User 'test01' already registered.
.The current behaviour is: Portal adds _1 to the user_slug and sends that over to Openshift for account creation. However, Openshift doesn’t allow non-alphanumeric namespaces:
An error occurred during domain creation. Errors: {:namespace=>["Invalid namespace. Namespace must only contain alphanumeric characters."]}
. So this bug still has to be resolved, but in another aspect...So in conclusion, the solution:
- Remove all ghost users from Openshift DB
- Remove the underscore from the Openshift namespace, or use another method to generate duplicate user_slugs.
-
- changed title to Change the way of generating user_slug for duplicate user names
-
reporter - changed status to resolved
Fixed with pull request #59
- Log in to comment
user_slug
crashed even when they have different email