{"action":"opened","issue":{"url":"https://api.github.com/repos/marmelab/ng-admin/issues/762","labels_url":"https://api.github.com/repos/marmelab/ng-admin/issues/762/labels{/name}","comments_url":"https://api.github.com/repos/marmelab/ng-admin/issues/762/comments","events_url":"https://api.github.com/repos/marmelab/ng-admin/issues/762/events","html_url":"https://github.com/marmelab/ng-admin/issues/762","id":115094187,"number":762,"title":"entry is undefined for cssClasses (before data is actually received)","user":{"login":"lucval","id":2534596,"avatar_url":"https://avatars.githubusercontent.com/u/2534596?v=3","gravatar_id":"","url":"https://api.github.com/users/lucval","html_url":"https://github.com/lucval","followers_url":"https://api.github.com/users/lucval/followers","following_url":"https://api.github.com/users/lucval/following{/other_user}","gists_url":"https://api.github.com/users/lucval/gists{/gist_id}","starred_url":"https://api.github.com/users/lucval/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucval/subscriptions","organizations_url":"https://api.github.com/users/lucval/orgs","repos_url":"https://api.github.com/users/lucval/repos","events_url":"https://api.github.com/users/lucval/events{/privacy}","received_events_url":"https://api.github.com/users/lucval/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-04T16:38:58Z","updated_at":"2015-11-04T16:38:58Z","closed_at":null,"body":"Hi all,\r\nwhen using function(entry) in field's cssClasses exception \"entry is undefined\" is raised. I did a bit of debugging and it looks as this exception is raised before the actual data is received (in fact the cssClasses function then completes without issues).\r\nDoes not look as a big problem so far, besides that all those error messages in the log are quite  annoying.\r\n\r\nTo reproduce: create a field with a cssClasses attribute which implements a function that uses the entry.values object.\r\n\r\nI am using the latest ng-admin release (pull the repo today).\r\n\r\nLuca"}}