Skip to content
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

v3.11.0-rc300.1 does not work with Blaze 3.0.0 #115

Open
jankapunkt opened this issue Sep 19, 2024 · 2 comments
Open

v3.11.0-rc300.1 does not work with Blaze 3.0.0 #115

jankapunkt opened this issue Sep 19, 2024 · 2 comments

Comments

@jankapunkt
Copy link

When using this packag with the rc 3.11.0-rc300.1 and Blaze 3.0.0 I get multiple issues when doing templating with regions:

  • this.render is not available in whileWaiting
  • {{> yield}} is not found
  • this.render in action is defined but does not render anything

Reverting to 3.9.0 (which was used before we started migrating) works without issues.

@jankapunkt
Copy link
Author

This also affects the creation of new projects using the --full option

@distalx
Copy link

distalx commented Nov 26, 2024

I have encountered a similar issue where the this.render function is not passing data correctly when both the origin and destination templates are the same.

For example, the following calls do not pass any data when navigating from one route to another:

this.render("layout", "org_role_check", { target_template: "settings" });
this.render("layout", "org_role_check", { target_template: "members" });
this.render("layout", "org_role_check", { target_template: "calendar" });

Current Workaround:
To work around this issue, I have duplicated the org_role_check template and used it in the following manner:

this.render("layout", "org_role_check", { target_template: "settings" });
this.render("layout", "org_role_check_01", { target_template: "members" });
this.render("layout", "org_role_check_02", { target_template: "calendar" });

My assumption is that when the origin and destination routes share the same template name, data is not being passed or stored in the router queue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants