{"action":"created","issue":{"url":"https://api.github.com/repos/grails/grails-core/issues/10752","repository_url":"https://api.github.com/repos/grails/grails-core","labels_url":"https://api.github.com/repos/grails/grails-core/issues/10752/labels{/name}","comments_url":"https://api.github.com/repos/grails/grails-core/issues/10752/comments","events_url":"https://api.github.com/repos/grails/grails-core/issues/10752/events","html_url":"https://github.com/grails/grails-core/issues/10752","id":246209952,"number":10752,"title":"Grails 3.2.9 not passing AJAX PUT parameters to controller action","user":{"login":"ppazos","id":1278556,"avatar_url":"https://avatars2.githubusercontent.com/u/1278556?v=4","gravatar_id":"","url":"https://api.github.com/users/ppazos","html_url":"https://github.com/ppazos","followers_url":"https://api.github.com/users/ppazos/followers","following_url":"https://api.github.com/users/ppazos/following{/other_user}","gists_url":"https://api.github.com/users/ppazos/gists{/gist_id}","starred_url":"https://api.github.com/users/ppazos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppazos/subscriptions","organizations_url":"https://api.github.com/users/ppazos/orgs","repos_url":"https://api.github.com/users/ppazos/repos","events_url":"https://api.github.com/users/ppazos/events{/privacy}","received_events_url":"https://api.github.com/users/ppazos/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-28T01:01:30Z","updated_at":"2017-07-28T11:04:01Z","closed_at":null,"body":"### Steps to Reproduce\r\n\r\nOn a view this JS makes the params be: [uid:43e87631-d721-4b03-afd0-0a6da7930dd6, start:2017-07-27T12:00:00.000Z, end:2017-07-27T13:30:00.000Z, controller:timeSlot, format:null, action:update]\r\n\r\n$.ajax({\r\n            type: \"POST\",\r\n            url: '${createLink(action:\"update\")}',\r\n            data: {uid: event.id, start: event.start.toISOString(), end: event.end.toISOString()}\r\n});\r\n\r\nWhile this using PUT makes: [controller:timeSlot, format:null, action:update]\r\n\r\n$.ajax({\r\n            type: \"PUT\",\r\n            url: '${createLink(action:\"update\")}',\r\n            data: {uid: event.id, start: event.start.toISOString(), end: event.end.toISOString()}\r\n});\r\n\r\n### Expected Behaviour\r\n\r\nParameters should reach the controller action. Wanted to use PUT since that is the method associated to update.\r\n\r\n### Actual Behaviour\r\n\r\nParams don't reach controller action\r\n\r\n### Environment Information\r\n\r\n- **Operating System**: MacOs 10.11.6\r\n- **Grails Version:** 3.2.9\r\n- **JDK Version:** 1.8\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/grails/grails-core/issues/comments/318624678","html_url":"https://github.com/grails/grails-core/issues/10752#issuecomment-318624678","issue_url":"https://api.github.com/repos/grails/grails-core/issues/10752","id":318624678,"user":{"login":"sdelamo","id":864788,"avatar_url":"https://avatars1.githubusercontent.com/u/864788?v=4","gravatar_id":"","url":"https://api.github.com/users/sdelamo","html_url":"https://github.com/sdelamo","followers_url":"https://api.github.com/users/sdelamo/followers","following_url":"https://api.github.com/users/sdelamo/following{/other_user}","gists_url":"https://api.github.com/users/sdelamo/gists{/gist_id}","starred_url":"https://api.github.com/users/sdelamo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sdelamo/subscriptions","organizations_url":"https://api.github.com/users/sdelamo/orgs","repos_url":"https://api.github.com/users/sdelamo/repos","events_url":"https://api.github.com/users/sdelamo/events{/privacy}","received_events_url":"https://api.github.com/users/sdelamo/received_events","type":"User","site_admin":false},"created_at":"2017-07-28T11:04:01Z","updated_at":"2017-07-28T11:04:01Z","body":"Can you provide a sample application? "}}
{"actor":{"display_login":"sdelamo"}}