{"action":"closed","issue":{"url":"https://api.github.com/repos/riot/riot/issues/1040","labels_url":"https://api.github.com/repos/riot/riot/issues/1040/labels{/name}","comments_url":"https://api.github.com/repos/riot/riot/issues/1040/comments","events_url":"https://api.github.com/repos/riot/riot/issues/1040/events","html_url":"https://github.com/riot/riot/issues/1040","id":97652869,"number":1040,"title":"Looped nested custom tag property error on update():  \"Cannot read property '{property}' of undefined\"","user":{"login":"leedium","id":12371823,"avatar_url":"https://avatars.githubusercontent.com/u/12371823?v=3","gravatar_id":"","url":"https://api.github.com/users/leedium","html_url":"https://github.com/leedium","followers_url":"https://api.github.com/users/leedium/followers","following_url":"https://api.github.com/users/leedium/following{/other_user}","gists_url":"https://api.github.com/users/leedium/gists{/gist_id}","starred_url":"https://api.github.com/users/leedium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leedium/subscriptions","organizations_url":"https://api.github.com/users/leedium/orgs","repos_url":"https://api.github.com/users/leedium/repos","events_url":"https://api.github.com/users/leedium/events{/privacy}","received_events_url":"https://api.github.com/users/leedium/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/riot/riot/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/riot/riot/labels/duplicate","name":"duplicate","color":"dddddd"},{"url":"https://api.github.com/repos/riot/riot/labels/fixed","name":"fixed","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-07-28T09:08:59Z","updated_at":"2015-08-04T20:21:51Z","closed_at":"2015-08-04T20:21:51Z","body":"Not  sure if this is related to:\r\nhttps://github.com/riot/riot/issues/974\r\nhttps://github.com/riot/riot/issues/995\r\n\r\n\r\nBut I'm getting a super frustrating error when trying to update a custom nested tag.  See fiddle here:\r\nhttps://jsfiddle.net/tw7vaa2L/14/\r\n\r\nerror(in console): \"Uncaught TypeError: Cannot read property 'pname' of undefined\"    \r\n\r\n```javascript\r\n  function normalizeData(data) {\r\n    for (var key in item) {\r\n      if (typeof self[key] !== T_UNDEF)\r\n        self[key] = data[key]   <--- Error is here\r\n    }\r\n  }\r\n```\r\n\r\nWhat I'm doing seems pretty straightforward, so not sure it's something with the framework or implementation.   Can someone suggest a temporary work around until this issue is fixed?  \r\n\r\nI'm really loving Riot, but this is a major blocker for me.\r\n\r\n*Edit: \"self.update(self)\"  actually works, but not on subsequent additions....\r\n\r\nHelp!!\r\n\r\n:)\r\n\r\n"}}