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

Silent fail when accessing readonly template #270

Open
sciurius opened this issue Jul 19, 2020 · 0 comments
Open

Silent fail when accessing readonly template #270

sciurius opened this issue Jul 19, 2020 · 0 comments

Comments

@sciurius
Copy link
Contributor

Given this snippet:

[% META foo = "bar" %]
Hello [% template.foo %]!
[% template.foo = "blech" %]
Hello [% template.foo %]!

When processed (e.g. through tpage), it prints Hello bar! twice.

Apparently, the template is readonly. No problem, but I would really appreciate an exception instead of silent failure.

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

1 participant