{"action":"created","issue":{"url":"https://api.github.com/repos/gwtproject/gwt/issues/9275","labels_url":"https://api.github.com/repos/gwtproject/gwt/issues/9275/labels{/name}","comments_url":"https://api.github.com/repos/gwtproject/gwt/issues/9275/comments","events_url":"https://api.github.com/repos/gwtproject/gwt/issues/9275/events","html_url":"https://github.com/gwtproject/gwt/issues/9275","id":130684962,"number":9275,"title":"GWT RequestFactory/Editor Framework null values don't reach server","user":{"login":"dfht","id":6401382,"avatar_url":"https://avatars.githubusercontent.com/u/6401382?v=3","gravatar_id":"","url":"https://api.github.com/users/dfht","html_url":"https://github.com/dfht","followers_url":"https://api.github.com/users/dfht/followers","following_url":"https://api.github.com/users/dfht/following{/other_user}","gists_url":"https://api.github.com/users/dfht/gists{/gist_id}","starred_url":"https://api.github.com/users/dfht/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dfht/subscriptions","organizations_url":"https://api.github.com/users/dfht/orgs","repos_url":"https://api.github.com/users/dfht/repos","events_url":"https://api.github.com/users/dfht/events{/privacy}","received_events_url":"https://api.github.com/users/dfht/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gwtproject/gwt/labels/Category-RequestFactory","name":"Category-RequestFactory","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-02-02T13:37:00Z","updated_at":"2016-02-02T14:31:15Z","closed_at":null,"body":"I have many editor widgets that work well until I null out the values in them.\r\nWhen I do so, the null doesn't ever seem to get propagated to the server.\r\n\r\nI have my own service layer decorator that overrides the setProperty method, and for null values it never seems to arrive at the method.\r\n\r\nIs this a known issue or is there something I'm not doing?\r\nI use request factory in tandem with the editor framework, and always call flush on the screen prior to firing the request (and as I say it all works fine for everything except nulling out a value - a perfectly reasonable thing to want to do I think :)).\r\n"},"comment":{"url":"https://api.github.com/repos/gwtproject/gwt/issues/comments/178599079","html_url":"https://github.com/gwtproject/gwt/issues/9275#issuecomment-178599079","issue_url":"https://api.github.com/repos/gwtproject/gwt/issues/9275","id":178599079,"user":{"login":"dfht","id":6401382,"avatar_url":"https://avatars.githubusercontent.com/u/6401382?v=3","gravatar_id":"","url":"https://api.github.com/users/dfht","html_url":"https://github.com/dfht","followers_url":"https://api.github.com/users/dfht/followers","following_url":"https://api.github.com/users/dfht/following{/other_user}","gists_url":"https://api.github.com/users/dfht/gists{/gist_id}","starred_url":"https://api.github.com/users/dfht/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dfht/subscriptions","organizations_url":"https://api.github.com/users/dfht/orgs","repos_url":"https://api.github.com/users/dfht/repos","events_url":"https://api.github.com/users/dfht/events{/privacy}","received_events_url":"https://api.github.com/users/dfht/received_events","type":"User","site_admin":false},"created_at":"2016-02-02T14:31:15Z","updated_at":"2016-02-02T14:31:15Z","body":"Hi Thomas,\r\n I can work around this issue by rebuilding the request each time (currently I cache it and re-fire it after fixing validation errors). However, this seems inefficient. Is this actually what I should be doing, or is the re-firing of a request after fixing validation errors something that should be supported?\r\nIf I do just re-build the request, do these old requests hand around (e.g. cached by the context) in any way and is there any way they can accidentally get re-fired anyway (I seem to recall these kind of problems in the past, which I think is why I started caching the requests in the first place).\r\n\r\nYes  I can probably make a simple sample to illustrate the bug. It's tricky, as I work on a huge model based application platform, so of course I cannot give you my example directly. However I guess a very simple first principles case can probably be knocked up in an hour or so.\r\n\r\nAny more thoughts on this and what I should be doing are welcome....."}}