{"action":"closed","issue":{"url":"https://api.github.com/repos/riot/riot/issues/2055","repository_url":"https://api.github.com/repos/riot/riot","labels_url":"https://api.github.com/repos/riot/riot/issues/2055/labels{/name}","comments_url":"https://api.github.com/repos/riot/riot/issues/2055/comments","events_url":"https://api.github.com/repos/riot/riot/issues/2055/events","html_url":"https://github.com/riot/riot/issues/2055","id":187064839,"number":2055,"title":"Uncaught DOMException: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.","user":{"login":"TheNavigateur","id":387061,"avatar_url":"https://avatars.githubusercontent.com/u/387061?v=3","gravatar_id":"","url":"https://api.github.com/users/TheNavigateur","html_url":"https://github.com/TheNavigateur","followers_url":"https://api.github.com/users/TheNavigateur/followers","following_url":"https://api.github.com/users/TheNavigateur/following{/other_user}","gists_url":"https://api.github.com/users/TheNavigateur/gists{/gist_id}","starred_url":"https://api.github.com/users/TheNavigateur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheNavigateur/subscriptions","organizations_url":"https://api.github.com/users/TheNavigateur/orgs","repos_url":"https://api.github.com/users/TheNavigateur/repos","events_url":"https://api.github.com/users/TheNavigateur/events{/privacy}","received_events_url":"https://api.github.com/users/TheNavigateur/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-03T13:50:19Z","updated_at":"2016-11-03T13:54:53Z","closed_at":"2016-11-03T13:54:53Z","body":"## Help us to manage our issues by answering the following:\r\n\r\n1. Describe your issue:\r\n\r\nDuring a complex layout with riot+compiler.js v2.6.5, upon some basic variable manipulation, and straightforward update(), I consistently get:\r\n\r\n```\r\nriot+compiler.js:1245 Uncaught DOMException: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.\r\n    at Tag.<anonymous> (http://localhost:8901/untitled/riot+compiler.js:1245:21)\r\n    at http://localhost:8901/untitled/riot+compiler.js:177:16\r\n    at onEachEvent (http://localhost:8901/untitled/riot+compiler.js:73:17)\r\n    at Tag.value (http://localhost:8901/untitled/riot+compiler.js:170:9)\r\n    at Tag.<anonymous> (http://localhost:8901/untitled/riot+compiler.js:1546:10)\r\n    at Tag.onChildUpdate (http://localhost:8901/untitled/riot+compiler.js:1735:39)\r\n    at http://localhost:8901/untitled/riot+compiler.js:177:16\r\n    at onEachEvent (http://localhost:8901/untitled/riot+compiler.js:73:17)\r\n    at Tag.value (http://localhost:8901/untitled/riot+compiler.js:170:9)\r\n    at Tag.<anonymous> (http://localhost:8901/untitled/riot+compiler.js:1546:10)\r\n```\r\n\r\n'insertBefore' is here in the code:\r\n\r\n```\r\nelse {\r\n    if (isVirtual)\r\n        addVirtual(tag, root, tags[i])\r\n    else root.insertBefore(tag.root, tags[i].root) // #1374 some browsers reset selected here\r\n    oldItems.splice(i, 0, item)\r\n}\r\n```\r\n\r\n2. Can you reproduce the issue?\r\n\r\nHaven't narrowed it down to a simple example yet.\r\n\r\n3. On which browser/OS does the issue appear?\r\n\r\nChrome, Windows 10\r\n\r\n4. Which version of Riot does it affect?\r\n\r\nv2.6.5\r\n\r\n5. How would you tag this issue?\r\n\r\n  - [ ] Question\r\n  - [x] Bug\r\n  - [ ] Discussion\r\n  - [ ] Feature request\r\n  - [ ] Tip\r\n  - [ ] Enhancement\r\n  - [ ] Performance\r\n"}}
{"actor":{"display_login":"GianlucaGuarini"}}