{"action":"closed","issue":{"url":"https://api.github.com/repos/emberjs/ember.js/issues/11718","repository_url":"https://api.github.com/repos/emberjs/ember.js","labels_url":"https://api.github.com/repos/emberjs/ember.js/issues/11718/labels{/name}","comments_url":"https://api.github.com/repos/emberjs/ember.js/issues/11718/comments","events_url":"https://api.github.com/repos/emberjs/ember.js/issues/11718/events","html_url":"https://github.com/emberjs/ember.js/issues/11718","id":94463326,"number":11718,"title":"ember 1.13.1 - infinite loop deprecation warning triggered","user":{"login":"dagda1","id":118328,"avatar_url":"https://avatars.githubusercontent.com/u/118328?v=3","gravatar_id":"","url":"https://api.github.com/users/dagda1","html_url":"https://github.com/dagda1","followers_url":"https://api.github.com/users/dagda1/followers","following_url":"https://api.github.com/users/dagda1/following{/other_user}","gists_url":"https://api.github.com/users/dagda1/gists{/gist_id}","starred_url":"https://api.github.com/users/dagda1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dagda1/subscriptions","organizations_url":"https://api.github.com/users/dagda1/orgs","repos_url":"https://api.github.com/users/dagda1/repos","events_url":"https://api.github.com/users/dagda1/events{/privacy}","received_events_url":"https://api.github.com/users/dagda1/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/emberjs/ember.js/labels/Ember%201.13","name":"Ember 1.13","color":"eb6420"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2015-07-11T11:21:25Z","updated_at":"2016-07-23T12:01:39Z","closed_at":"2016-07-23T12:01:39Z","body":"I am trying to upgrade [this](https://github.com/dagda1/emberx-autosuggest) addon.\r\n\r\nI am trying to run [this](https://github.com/dagda1/emberx-autosuggest/blob/upgrade/tests/acceptance/customisations-test.js) test fixture on the upgrade branch.\r\n\r\nI am testing a component in its block form like this:\r\n```\r\n  {{#x-autosuggest source=model destination=tags minChars=0 as |selection|}}\r\n    <img src=\"img/small_avatar.png\" alt=\"{{selection.name}} class=\"avatar\"/>\r\n  {{/x-autosuggest}}\r\n```\r\n\r\nIf the component is in its block form then ember goes into an infinite loop spitting out the following deprecation warning:\r\n\r\n```\r\nDEPRECATION: You modified result twice in a single render. This was unreliable in Ember 1.x and will be removed in Ember 2.0\r\n        at _emberViewsViewsCore_view.default.extend.scheduleRevalidate (http://localhost:7357/assets/vendor.js:58999:38)\r\n        at http://localhost:7357/assets/vendor.js:21828:32\r\n        at Object.Stream.notifySubscribers (http://localhost:7357/assets/vendor.js:31127:11)\r\n        at Object.Stream.notifyExcept (http://localhost:7357/assets/vendor.js:31067:14)\r\n        at Object.Stream.notify (http://localhost:7357/assets/vendor.js:31061:12)\r\n        at Object.bindLocal (http://localhost:7357/assets/vendor.js:18015:16)\r\n        at Object.updateLocal (http://localhost:7357/assets/vendor.js:60052:15)\r\n        at RenderResult.updateLocals (http://localhost:7357/assets/vendor.js:61069:22)\r\n        at RenderResult.revalidateWith (http://localhost:7357/assets/vendor.js:60991:12)\r\n        at Object.block [as default] (http://localhost:7357/assets/vendor.js:61559:31)\r\n```\r\n\r\nIt does not matter if there is anything within the block.\r\n\r\nIf I run the test with the component in non-block form then the test executes.\r\n\r\nWhy would this cause an infinite loop?"}}
{"actor":{"display_login":"rwjblue"}}