{"action":"created","issue":{"url":"https://api.github.com/repos/opnsense/core/issues/1442","repository_url":"https://api.github.com/repos/opnsense/core","labels_url":"https://api.github.com/repos/opnsense/core/issues/1442/labels{/name}","comments_url":"https://api.github.com/repos/opnsense/core/issues/1442/comments","events_url":"https://api.github.com/repos/opnsense/core/issues/1442/events","html_url":"https://github.com/opnsense/core/issues/1442","id":211012067,"number":1442,"title":"mvc: strict types in POST cause save error?","user":{"login":"fichtner","id":1915288,"avatar_url":"https://avatars0.githubusercontent.com/u/1915288?v=3","gravatar_id":"","url":"https://api.github.com/users/fichtner","html_url":"https://github.com/fichtner","followers_url":"https://api.github.com/users/fichtner/followers","following_url":"https://api.github.com/users/fichtner/following{/other_user}","gists_url":"https://api.github.com/users/fichtner/gists{/gist_id}","starred_url":"https://api.github.com/users/fichtner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fichtner/subscriptions","organizations_url":"https://api.github.com/users/fichtner/orgs","repos_url":"https://api.github.com/users/fichtner/repos","events_url":"https://api.github.com/users/fichtner/events{/privacy}","received_events_url":"https://api.github.com/users/fichtner/received_events","type":"User","site_admin":false},"labels":[{"id":157163112,"url":"https://api.github.com/repos/opnsense/core/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":{"login":"AdSchellevis","id":9783985,"avatar_url":"https://avatars1.githubusercontent.com/u/9783985?v=3","gravatar_id":"","url":"https://api.github.com/users/AdSchellevis","html_url":"https://github.com/AdSchellevis","followers_url":"https://api.github.com/users/AdSchellevis/followers","following_url":"https://api.github.com/users/AdSchellevis/following{/other_user}","gists_url":"https://api.github.com/users/AdSchellevis/gists{/gist_id}","starred_url":"https://api.github.com/users/AdSchellevis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdSchellevis/subscriptions","organizations_url":"https://api.github.com/users/AdSchellevis/orgs","repos_url":"https://api.github.com/users/AdSchellevis/repos","events_url":"https://api.github.com/users/AdSchellevis/events{/privacy}","received_events_url":"https://api.github.com/users/AdSchellevis/received_events","type":"User","site_admin":false},"assignees":[{"login":"AdSchellevis","id":9783985,"avatar_url":"https://avatars1.githubusercontent.com/u/9783985?v=3","gravatar_id":"","url":"https://api.github.com/users/AdSchellevis","html_url":"https://github.com/AdSchellevis","followers_url":"https://api.github.com/users/AdSchellevis/followers","following_url":"https://api.github.com/users/AdSchellevis/following{/other_user}","gists_url":"https://api.github.com/users/AdSchellevis/gists{/gist_id}","starred_url":"https://api.github.com/users/AdSchellevis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdSchellevis/subscriptions","organizations_url":"https://api.github.com/users/AdSchellevis/orgs","repos_url":"https://api.github.com/users/AdSchellevis/repos","events_url":"https://api.github.com/users/AdSchellevis/events{/privacy}","received_events_url":"https://api.github.com/users/AdSchellevis/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/opnsense/core/milestones/6","html_url":"https://github.com/opnsense/core/milestone/6","labels_url":"https://api.github.com/repos/opnsense/core/milestones/6/labels","id":2231308,"number":6,"title":"17.7","description":"","creator":{"login":"fichtner","id":1915288,"avatar_url":"https://avatars0.githubusercontent.com/u/1915288?v=3","gravatar_id":"","url":"https://api.github.com/users/fichtner","html_url":"https://github.com/fichtner","followers_url":"https://api.github.com/users/fichtner/followers","following_url":"https://api.github.com/users/fichtner/following{/other_user}","gists_url":"https://api.github.com/users/fichtner/gists{/gist_id}","starred_url":"https://api.github.com/users/fichtner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fichtner/subscriptions","organizations_url":"https://api.github.com/users/fichtner/orgs","repos_url":"https://api.github.com/users/fichtner/repos","events_url":"https://api.github.com/users/fichtner/events{/privacy}","received_events_url":"https://api.github.com/users/fichtner/received_events","type":"User","site_admin":false},"open_issues":43,"closed_issues":19,"state":"open","created_at":"2017-01-05T17:44:15Z","updated_at":"2017-03-01T08:33:25Z","due_on":"2017-07-27T07:00:00Z","closed_at":null},"comments":0,"created_at":"2017-03-01T08:33:25Z","updated_at":"2017-03-01T09:06:35Z","closed_at":null,"body":"Working on the IPS rules and toggling a ruleset seems to cause empty values to be posted from a hidden dialog, which breaks boolean type:\r\n\r\n<img width=\"854\" alt=\"screen shot 2017-03-01 at 9 30 38 am\" src=\"https://cloud.githubusercontent.com/assets/1915288/23451812/d84be044-fe61-11e6-9da7-0552d7b922a5.png\">\r\n\r\nAlso, proxy seems to have issues I can't pin down:\r\n\r\n<img width=\"809\" alt=\"screen shot 2017-03-01 at 9 32 38 am\" src=\"https://cloud.githubusercontent.com/assets/1915288/23451850/123b537a-fe62-11e6-8c03-91871e7c3a2c.png\">\r\n\r\nAny ideas?"},"comment":{"url":"https://api.github.com/repos/opnsense/core/issues/comments/283284139","html_url":"https://github.com/opnsense/core/issues/1442#issuecomment-283284139","issue_url":"https://api.github.com/repos/opnsense/core/issues/1442","id":283284139,"user":{"login":"fabianfrz","id":3713914,"avatar_url":"https://avatars2.githubusercontent.com/u/3713914?v=3","gravatar_id":"","url":"https://api.github.com/users/fabianfrz","html_url":"https://github.com/fabianfrz","followers_url":"https://api.github.com/users/fabianfrz/followers","following_url":"https://api.github.com/users/fabianfrz/following{/other_user}","gists_url":"https://api.github.com/users/fabianfrz/gists{/gist_id}","starred_url":"https://api.github.com/users/fabianfrz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabianfrz/subscriptions","organizations_url":"https://api.github.com/users/fabianfrz/orgs","repos_url":"https://api.github.com/users/fabianfrz/repos","events_url":"https://api.github.com/users/fabianfrz/events{/privacy}","received_events_url":"https://api.github.com/users/fabianfrz/received_events","type":"User","site_admin":false},"created_at":"2017-03-01T09:06:35Z","updated_at":"2017-03-01T09:06:35Z","body":"Hey Franco, @rails has a solution for that: You need to create a hidden input with the value when unchecked. After that, a normal checkbox exists, which has the same name. If it is checked, it will overwrite the previous value in the hidden field. A checkbox is usually not sent when it is not checked.\r\n\r\nI hope that this info can help you."}}
{"actor":{"display_login":"fabianfrz"}}