{"action":"closed","issue":{"url":"https://api.github.com/repos/camdram/camdram/issues/302","labels_url":"https://api.github.com/repos/camdram/camdram/issues/302/labels{/name}","comments_url":"https://api.github.com/repos/camdram/camdram/issues/302/comments","events_url":"https://api.github.com/repos/camdram/camdram/issues/302/events","html_url":"https://github.com/camdram/camdram/issues/302","id":69306588,"number":302,"title":"Creating user with name containing only non [A-z] characters results in empty slug.","user":{"login":"dtwood","id":1207240,"avatar_url":"https://avatars.githubusercontent.com/u/1207240?v=3","gravatar_id":"","url":"https://api.github.com/users/dtwood","html_url":"https://github.com/dtwood","followers_url":"https://api.github.com/users/dtwood/followers","following_url":"https://api.github.com/users/dtwood/following{/other_user}","gists_url":"https://api.github.com/users/dtwood/gists{/gist_id}","starred_url":"https://api.github.com/users/dtwood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtwood/subscriptions","organizations_url":"https://api.github.com/users/dtwood/orgs","repos_url":"https://api.github.com/users/dtwood/repos","events_url":"https://api.github.com/users/dtwood/events{/privacy}","received_events_url":"https://api.github.com/users/dtwood/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2015-04-18T12:47:43Z","updated_at":"2015-05-11T07:47:40Z","closed_at":"2015-05-11T07:47:40Z","body":"The slug generator function currently works by removing all non-latin characters, and the replacing spaces with hyphens. Therefore changing a user's name to include only non-latin characters results in them having an empty slug, which doesn't appear to be possible to change back fully without DB access.\r\n\r\nI've had a look at fixing this, but there's only one place where `setSlug` is actually called on a person's name, and that's in show creation code, which I can't run. The rest of the time Symphony auto generates it from the name (`src/Acts/CamdramBundle/Entity/Person.php:58`). So unless anyone who actually knows php has any ideas, I think this is something that we'll need to fix upstream in Gedmo/Sluggable."}}