{"action":"created","issue":{"url":"https://api.github.com/repos/Polymer/polymer/issues/1886","labels_url":"https://api.github.com/repos/Polymer/polymer/issues/1886/labels{/name}","comments_url":"https://api.github.com/repos/Polymer/polymer/issues/1886/comments","events_url":"https://api.github.com/repos/Polymer/polymer/issues/1886/events","html_url":"https://github.com/Polymer/polymer/issues/1886","id":88722354,"number":1886,"title":"Exception when accessing a property in the created callback (Polymer 1.0)","user":{"login":"timeu","id":374296,"avatar_url":"https://avatars.githubusercontent.com/u/374296?v=3","gravatar_id":"","url":"https://api.github.com/users/timeu","html_url":"https://github.com/timeu","followers_url":"https://api.github.com/users/timeu/followers","following_url":"https://api.github.com/users/timeu/following{/other_user}","gists_url":"https://api.github.com/users/timeu/gists{/gist_id}","starred_url":"https://api.github.com/users/timeu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timeu/subscriptions","organizations_url":"https://api.github.com/users/timeu/orgs","repos_url":"https://api.github.com/users/timeu/repos","events_url":"https://api.github.com/users/timeu/events{/privacy}","received_events_url":"https://api.github.com/users/timeu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-16T13:05:34Z","updated_at":"2015-06-16T14:46:28Z","closed_at":null,"body":"I am not sure if this is by desig, but when accessing a `property` inside the `created` callback, an Exception is thrown. See here: http://jsbin.com/decayi/edit?html,console,output\r\n\r\nI guess this is because the `__data__` structure hasn't been initialized at that time. Wrapping the property access inside a `async` call fixes the issue. \r\n\r\nIf this behavior is by design, at least the documentation should highlight/mention this (I couldn't find anything in the docs)"},"comment":{"url":"https://api.github.com/repos/Polymer/polymer/issues/comments/112456017","html_url":"https://github.com/Polymer/polymer/issues/1886#issuecomment-112456017","issue_url":"https://api.github.com/repos/Polymer/polymer/issues/1886","id":112456017,"user":{"login":"timeu","id":374296,"avatar_url":"https://avatars.githubusercontent.com/u/374296?v=3","gravatar_id":"","url":"https://api.github.com/users/timeu","html_url":"https://github.com/timeu","followers_url":"https://api.github.com/users/timeu/followers","following_url":"https://api.github.com/users/timeu/following{/other_user}","gists_url":"https://api.github.com/users/timeu/gists{/gist_id}","starred_url":"https://api.github.com/users/timeu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timeu/subscriptions","organizations_url":"https://api.github.com/users/timeu/orgs","repos_url":"https://api.github.com/users/timeu/repos","events_url":"https://api.github.com/users/timeu/events{/privacy}","received_events_url":"https://api.github.com/users/timeu/received_events","type":"User","site_admin":false},"created_at":"2015-06-16T14:46:28Z","updated_at":"2015-06-16T14:46:28Z","body":"Unfortunately the behavior is the same, even if there is a default value (see the updated jsbin in the initial post). "}}