Some templates stop rendering after upgrade 3.6.3 -> 3.7.0
See original GitHub issueNo server-side errors triggered. No client-side errors triggered. An empty template is rendered. Downgrading back to 3.6.3 solved the problem. Details below.
Template
<template name="layoutBlankPublic">
{{> Template.dynamic template=content}}
</template>
FlowRouter
import { FlowRouter } from 'meteor/ostrio:flow-router-extra';
import { BlazeLayout } from 'meteor/kadira:blaze-layout'
const publicRoutes = FlowRouter.group({
name: 'public'
});
publicRoutes.route('/login', {
name: 'login',
action: function () {
BlazeLayout.render('layoutBlankPublic', { content: 'login' });
}
});
Oddly enough, a different layout template DOES work?!
Template
<template name="defaultLayout">
{{#if loggingIn}}
{{> loading}}
{{else}}
{{#if authenticated}}
<div id="wrapper">
{{> authenticatedNavigation }}
<div id="page-wrapper" class="gray-bg">
{{> authenticatedNavbar }}
{{> Template.dynamic template=content}}
{{> footer }}
</div>
</div>
{{else}}
<div id="wrapper">
<div id="page-wrapper" class="gray-bg">
{{> publicNavigation }}
<p>You are not authorized to view this page.</p>
<p>Please <a href="/login">login</a> to view this page</p>
</div>
</div>
{{/if}}
{{/if}}
</template>
FlowRouter
import { FlowRouter } from 'meteor/ostrio:flow-router-extra';
import { BlazeLayout } from 'meteor/kadira:blaze-layout'
FlowRouter.route( '/dashboard', {
name: 'dashboard',
action: function() {
BlazeLayout.render( 'defaultLayout', { content: 'dashboard' } );
}
});
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Known Bugs and User Experience Issues
Issue: An auto-update bug updated automatically to version 3.6.1. Resolution: The issue was fixed. You will get auto-updated to 3.6.2, and then it...
Read more >undefined method for Spree::Image.styles in 3.6.3 (after ...
This error has appeared after the upgrade from Spree 3.5.0 to 3.6.3. We are currently using Paperclip and have set the environment variable ......
Read more >Changes — Jinja Documentation (3.0.x)
Calling sync render for an async template uses asyncio.run on Python >= 3.7. This fixes a deprecation that Python 3.10 introduces.
Read more >Parallax release notes
The Parallax release notes list notable changes, improvements, and additions to the theme. Stay up-to-date with the latest release...
Read more >Craft Freeform 3.x - Changelog
Updated form re-rendering (via AJAX) to be bypassed if no formatting template is specified in the form builder.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@RomanBf two different Blaze-based rendering engines.
this.render
features:requestAnimationFrame
BlazeLayout.render
features:@cormip @jankapunkt please check latest
v3.7.1
release, this issue should be solved.Feel free to reopen it in case if the issue is still persists on your end.