{"action":"opened","issue":{"url":"https://api.github.com/repos/bolt/bolt/issues/7124","repository_url":"https://api.github.com/repos/bolt/bolt","labels_url":"https://api.github.com/repos/bolt/bolt/issues/7124/labels{/name}","comments_url":"https://api.github.com/repos/bolt/bolt/issues/7124/comments","events_url":"https://api.github.com/repos/bolt/bolt/issues/7124/events","html_url":"https://github.com/bolt/bolt/issues/7124","id":268757822,"number":7124,"title":"[3.4] Hyphens in slugs throw exceptions","user":{"login":"bobdenotter","id":1833361,"avatar_url":"https://avatars1.githubusercontent.com/u/1833361?v=4","gravatar_id":"","url":"https://api.github.com/users/bobdenotter","html_url":"https://github.com/bobdenotter","followers_url":"https://api.github.com/users/bobdenotter/followers","following_url":"https://api.github.com/users/bobdenotter/following{/other_user}","gists_url":"https://api.github.com/users/bobdenotter/gists{/gist_id}","starred_url":"https://api.github.com/users/bobdenotter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobdenotter/subscriptions","organizations_url":"https://api.github.com/users/bobdenotter/orgs","repos_url":"https://api.github.com/users/bobdenotter/repos","events_url":"https://api.github.com/users/bobdenotter/events{/privacy}","received_events_url":"https://api.github.com/users/bobdenotter/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-26T13:22:50Z","updated_at":"2017-10-26T13:22:50Z","closed_at":null,"author_association":"OWNER","body":"If you have a contenttype like this:\r\n\r\n```yml\r\ndummies:\r\n    slug: dummies-foo\r\n    name: Dummies\r\n    singular_slug: dummy-foo\r\n    singular_name: Dummy\r\n    fields:\r\n        title:\r\n            type: text\r\n            class: large\r\n            group: content\r\n        slug:\r\n            type: slug\r\n            uses: title\r\n        teaser:\r\n            type: html\r\n            height: 150px\r\n```\r\n\r\nIt throws an exception:\r\n\r\n![screen shot 2017-10-26 at 15 19 56](https://user-images.githubusercontent.com/1833361/32055150-3b0f45ca-ba61-11e7-9398-f551151e5d02.png)\r\n\r\n\r\nCuriously enough, this _does_ work: \r\n\r\n```yml\r\ndummies:\r\n    slug: dummiesfoo\r\n    name: Dummies\r\n    singular_slug: dummyfoo\r\n    singular_name: Dummy\r\n    fields:\r\n        title:\r\n            type: text\r\n            class: large\r\n            group: content\r\n        slug:\r\n            type: slug\r\n            uses: title\r\n        teaser:\r\n            type: html\r\n            height: 150px\r\n```"}}
{"actor":{"display_login":"bobdenotter"}}