{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla-services/cornice/issues/317","labels_url":"https://api.github.com/repos/mozilla-services/cornice/issues/317/labels{/name}","comments_url":"https://api.github.com/repos/mozilla-services/cornice/issues/317/comments","events_url":"https://api.github.com/repos/mozilla-services/cornice/issues/317/events","html_url":"https://github.com/mozilla-services/cornice/pull/317","id":93169723,"number":317,"title":"BUG: validate_colander_schema don't handle missing=drop","user":{"login":"surabujin","id":2862761,"avatar_url":"https://avatars.githubusercontent.com/u/2862761?v=3","gravatar_id":"","url":"https://api.github.com/users/surabujin","html_url":"https://github.com/surabujin","followers_url":"https://api.github.com/users/surabujin/followers","following_url":"https://api.github.com/users/surabujin/following{/other_user}","gists_url":"https://api.github.com/users/surabujin/gists{/gist_id}","starred_url":"https://api.github.com/users/surabujin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/surabujin/subscriptions","organizations_url":"https://api.github.com/users/surabujin/orgs","repos_url":"https://api.github.com/users/surabujin/repos","events_url":"https://api.github.com/users/surabujin/events{/privacy}","received_events_url":"https://api.github.com/users/surabujin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-07-06T02:04:02Z","updated_at":"2015-07-13T16:55:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mozilla-services/cornice/pulls/317","html_url":"https://github.com/mozilla-services/cornice/pull/317","diff_url":"https://github.com/mozilla-services/cornice/pull/317.diff","patch_url":"https://github.com/mozilla-services/cornice/pull/317.patch"},"body":"Function validate_colander_schema call attr.deserialize even if\r\nattr.missing == drop and data don't contain attr.name. This behaviour become\r\na problem if attr have preparer, which one expect something except\r\ncolander.null."},"comment":{"url":"https://api.github.com/repos/mozilla-services/cornice/issues/comments/120992367","html_url":"https://github.com/mozilla-services/cornice/pull/317#issuecomment-120992367","issue_url":"https://api.github.com/repos/mozilla-services/cornice/issues/317","id":120992367,"user":{"login":"surabujin","id":2862761,"avatar_url":"https://avatars.githubusercontent.com/u/2862761?v=3","gravatar_id":"","url":"https://api.github.com/users/surabujin","html_url":"https://github.com/surabujin","followers_url":"https://api.github.com/users/surabujin/followers","following_url":"https://api.github.com/users/surabujin/following{/other_user}","gists_url":"https://api.github.com/users/surabujin/gists{/gist_id}","starred_url":"https://api.github.com/users/surabujin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/surabujin/subscriptions","organizations_url":"https://api.github.com/users/surabujin/orgs","repos_url":"https://api.github.com/users/surabujin/repos","events_url":"https://api.github.com/users/surabujin/events{/privacy}","received_events_url":"https://api.github.com/users/surabujin/received_events","type":"User","site_admin":false},"created_at":"2015-07-13T16:55:14Z","updated_at":"2015-07-13T16:55:14Z","body":"Last time - current cornice behaviour is incorrect from colander point of view. We should not use foreign library in incorrect way, only because we like \"default\" attribute more than \"missing\".\r\n\r\nPS is validation != deserialisation?"}}