{{#each ... in ...}} stopped working after update to Meteor 1.4.3.2

Hi,

after update to Meteor 1.4.3.2, blaze helper {{#each item in items}} stopped working, the problem is that ‘item’ is undefined inside the loop.

At the same time older version

{{#each items}} 
  {{this}} 
{{/each}}

works properly, ‘this’ object is filled by item from array.

Versions:

blaze@2.3.2
blaze-html-templates@1.0.5
blaze-tools@1.0.10
spacebars@1.0.15
spacebars-compiler@1.1.2
templating-compiler@1.3.2
templating-runtime@1.3.2
templating-tools@1.1.2

Workaround is simple, but “#each in” is more elegant.

Thank you

{{#each ... in ...}} works for me on 1.4.3.2 - but my package versions are more recent than yours. Can you do a meteor update --all-packages and retry?

Thank you very much, I was focused to have newest versions of blaze, templating, spacebars and UI and did not noticed that I have older version of blaze-html-templates (1.0.5 instead of last 1.1.2) which causes to use older versions of former packages.

1 Like