{"action":"created","issue":{"url":"https://api.github.com/repos/phalcon/cphalcon/issues/10249","labels_url":"https://api.github.com/repos/phalcon/cphalcon/issues/10249/labels{/name}","comments_url":"https://api.github.com/repos/phalcon/cphalcon/issues/10249/comments","events_url":"https://api.github.com/repos/phalcon/cphalcon/issues/10249/events","html_url":"https://github.com/phalcon/cphalcon/issues/10249","id":73342597,"number":10249,"title":"skipAttributes sets NULL to attributes","user":{"login":"gtux","id":2895909,"avatar_url":"https://avatars.githubusercontent.com/u/2895909?v=3","gravatar_id":"","url":"https://api.github.com/users/gtux","html_url":"https://github.com/gtux","followers_url":"https://api.github.com/users/gtux/followers","following_url":"https://api.github.com/users/gtux/following{/other_user}","gists_url":"https://api.github.com/users/gtux/gists{/gist_id}","starred_url":"https://api.github.com/users/gtux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gtux/subscriptions","organizations_url":"https://api.github.com/users/gtux/orgs","repos_url":"https://api.github.com/users/gtux/repos","events_url":"https://api.github.com/users/gtux/events{/privacy}","received_events_url":"https://api.github.com/users/gtux/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-05-05T15:14:36Z","updated_at":"2015-05-05T16:08:08Z","closed_at":null,"body":"Hi, \r\n\r\n  I have an application that is working since 1.2 working fine, I recently I've updated to phalcon 2 and one model begins to have troubles:\r\n\r\n  I have an attribute called \"created\", that is a TIMESTAMP field; also in the initialize method I do specify skip this attribute on insert and update doing this: $this->skipAttributes(array('created')); \r\n\r\n   But it does not work, because on insert sets the attribute created = NULL and MySQL throws an exception.\r\n\r\n  For now I workaround setting a some value to created attribute before insert, but, I do not want to change over all models on my application :("},"comment":{"url":"https://api.github.com/repos/phalcon/cphalcon/issues/comments/99127348","html_url":"https://github.com/phalcon/cphalcon/issues/10249#issuecomment-99127348","issue_url":"https://api.github.com/repos/phalcon/cphalcon/issues/10249","id":99127348,"user":{"login":"gtux","id":2895909,"avatar_url":"https://avatars.githubusercontent.com/u/2895909?v=3","gravatar_id":"","url":"https://api.github.com/users/gtux","html_url":"https://github.com/gtux","followers_url":"https://api.github.com/users/gtux/followers","following_url":"https://api.github.com/users/gtux/following{/other_user}","gists_url":"https://api.github.com/users/gtux/gists{/gist_id}","starred_url":"https://api.github.com/users/gtux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gtux/subscriptions","organizations_url":"https://api.github.com/users/gtux/orgs","repos_url":"https://api.github.com/users/gtux/repos","events_url":"https://api.github.com/users/gtux/events{/privacy}","received_events_url":"https://api.github.com/users/gtux/received_events","type":"User","site_admin":false},"created_at":"2015-05-05T16:08:08Z","updated_at":"2015-05-05T16:08:08Z","body":"I have cloned the one with git path: git@github.com:phalcon/cphalcon.git, but it does not have the 2.0.x branch, I have to clone the one with https path in order to checkout that branch"}}