-
Notifications
You must be signed in to change notification settings - Fork 5.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Template instance custom properties inaccessible inside content blocks #3540
Comments
Great reproduction! |
In PR #3545 |
Cool. There is another issue I'm going to submit regarding |
They are related, I also want to fix that one right now. |
Should I still post a reproduction for that one? |
No I have one that's pretty good I think |
How would I go about using this patch on demand before the next release happens? Is that possible? |
After we fix this, we might be able to publish a pre-release version of Blaze, since that's the only package affected by the changes. I'll let you know. |
Thanks. |
try running your app with |
It's working great. Nested a bunch of contentBlocks (and elseBlocks too) and I'm able to get the template instance data. Also tested parentData, currentData with different indexes. In the process, I noticed that UI.body broke. helpers weren't working there in this pre-release (but are working in the current stable release).
|
Interesting - this is actually a bug introduced in the preview, thanks for catching it! |
No problem, let me know how it goes. |
I think I have fixed it now. I forgot you can have helpers on |
One thing I noticed also about the current release is that you can't call
Could this be related to the above bug? Here's a reproduction (I hope you don't mind that I pasted it here given how small it is?):
|
What's the status of this? |
I'm bringing up |
Oh interesting, I could be wrong then, let me look into it more |
Just opened a new issue for this: #3631 |
Going to close this because this particular issue has been fixed |
Ok cool thanks. |
Reproduction here: https://github.com/rclai/meteor-template-instance-issue
The text was updated successfully, but these errors were encountered: