{"action":"opened","issue":{"url":"https://api.github.com/repos/grails/grails-core/issues/9218","labels_url":"https://api.github.com/repos/grails/grails-core/issues/9218/labels{/name}","comments_url":"https://api.github.com/repos/grails/grails-core/issues/9218/comments","events_url":"https://api.github.com/repos/grails/grails-core/issues/9218/events","html_url":"https://github.com/grails/grails-core/issues/9218","id":104861106,"number":9218,"title":"Hyphenated URLs do not work when using the 'hyphenated' url converter strategy","user":{"login":"gregopet","id":263044,"avatar_url":"https://avatars.githubusercontent.com/u/263044?v=3","gravatar_id":"","url":"https://api.github.com/users/gregopet","html_url":"https://github.com/gregopet","followers_url":"https://api.github.com/users/gregopet/followers","following_url":"https://api.github.com/users/gregopet/following{/other_user}","gists_url":"https://api.github.com/users/gregopet/gists{/gist_id}","starred_url":"https://api.github.com/users/gregopet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregopet/subscriptions","organizations_url":"https://api.github.com/users/gregopet/orgs","repos_url":"https://api.github.com/users/gregopet/repos","events_url":"https://api.github.com/users/gregopet/events{/privacy}","received_events_url":"https://api.github.com/users/gregopet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-04T09:54:35Z","updated_at":"2015-09-04T09:54:35Z","closed_at":null,"body":"I have a controller with a single action, ```def longName() {\r\n\t\trender text: 'my name is loooong!'\r\n\t}``` and the `UrlMappings.groovy` file is still the default one.\r\n\r\nI can open the `/controller/longName` URL just fine but if I add the config setting `grails.web.url.converter: hyphenated` to my `application.yml`', I cannot access the action anymore. Both `/controller/longName` and `/controller/long-name` produce the same error:\r\n\r\n```\r\nERROR org.grails.web.errors.GrailsExceptionResolver - IllegalArgumentException occurred when processing request: [GET] /controller/long-name\r\nInvalid action name: long-name. Stacktrace follows:\r\njava.lang.IllegalArgumentException: Invalid action name: long-name\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) ~[na:1.7.0_55]\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) ~[na:1.7.0_55]\r\n\tat java.lang.Thread.run(Thread.java:745) [na:1.7.0_55]\r\n```\r\n\r\nEven `Invalid action name: long-name` is identical in both cases so `longName` is getting automatically hyphenated (which I suppose is an undocumented behaviour), but then cannot be resolved."}}