{"action":"closed","issue":{"url":"https://api.github.com/repos/CollectionFS/Meteor-CollectionFS/issues/644","labels_url":"https://api.github.com/repos/CollectionFS/Meteor-CollectionFS/issues/644/labels{/name}","comments_url":"https://api.github.com/repos/CollectionFS/Meteor-CollectionFS/issues/644/comments","events_url":"https://api.github.com/repos/CollectionFS/Meteor-CollectionFS/issues/644/events","html_url":"https://github.com/CollectionFS/Meteor-CollectionFS/issues/644","id":66730911,"number":644,"title":"Template renders (and runs some blaze code) before the publisher sends all the images to client, results in error","user":{"login":"kaushik1979","id":5226156,"avatar_url":"https://avatars.githubusercontent.com/u/5226156?v=3","gravatar_id":"","url":"https://api.github.com/users/kaushik1979","html_url":"https://github.com/kaushik1979","followers_url":"https://api.github.com/users/kaushik1979/followers","following_url":"https://api.github.com/users/kaushik1979/following{/other_user}","gists_url":"https://api.github.com/users/kaushik1979/gists{/gist_id}","starred_url":"https://api.github.com/users/kaushik1979/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaushik1979/subscriptions","organizations_url":"https://api.github.com/users/kaushik1979/orgs","repos_url":"https://api.github.com/users/kaushik1979/repos","events_url":"https://api.github.com/users/kaushik1979/events{/privacy}","received_events_url":"https://api.github.com/users/kaushik1979/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-06T23:32:06Z","updated_at":"2015-04-08T10:17:40Z","closed_at":"2015-04-08T10:17:40Z","body":"I have created a test project if you want to reproduce this quickly and help me resolve it. Please clone the following repository - \r\n\r\nhttps://github.com/kaushik1979/collectionfs_test.git\r\n\r\nError - \r\n```\r\nException in queued task: Error: Can't call non-function: undefined\r\n    at Spacebars.call (http://localhost:5000/packages/spacebars.js?7bafbe05ec09b6bbb6a3b276537e4995ab298a2f:175:13)\r\n    at Spacebars.mustacheImpl (http://localhost:5000/packages/spacebars.js?7bafbe05ec09b6bbb6a3b276537e4995ab298a2f:109:25)\r\n    at Object.Spacebars.mustache (http://localhost:5000/packages/spacebars.js?7bafbe05ec09b6bbb6a3b276537e4995ab298a2f:113:39)\r\n    at Template.images.HTML.UL.Blaze.Each.HTML.LI.HTML.IMG.src (http://localhost:5000/client/views/template.collectionfs.js?c7a5416c84b877aa789670160f1dc9d3ae665129:10:26)\r\n    at Object.Blaze._withCurrentView (http://localhost:5000/packages/blaze.js?a5c324925e5f6e800a4c618d71caf2848b53bf51:2197:12)\r\n    at Blaze._HTMLJSExpander.def.visitAttribute (http://localhost:5000/packages/blaze.js?a5c324925e5f6e800a4c618d71caf2848b53bf51:2125:21)\r\n    at HTML.TransformingVisitor.def.visitAttributes (http://localhost:5000/packages/htmljs.js?567eb96d5d22631c03d6aca6afa4c42f0d1295f2:228:44)\r\n    at Blaze._HTMLJSExpander.def.visitAttributes (http://localhost:5000/packages/blaze.js?a5c324925e5f6e800a4c618d71caf2848b53bf51:2119:63)\r\n    at Object.Blaze._expandAttributes (http://localhost:5000/packages/blaze.js?a5c324925e5f6e800a4c618d71caf2848b53bf51:2148:32)\r\n    at updateAttributes (http://localhost:5000/packages/blaze.js?a5c324925e5f6e800a4c618d71caf2848b53bf51:1520:33)\r\n```"}}