This queue is for tickets about the HTML-Template-Compiled CPAN distribution.
Note: there is a bug with caching and TMPL_INCLUDE_VAR since 0.97_004 until 0.98. either use an earlier version or upgrade to 0.98_001. Another workaround is to precompile all templates to file_cache_dir. The bug happens when including a template via INCLUDE_VAR and the template is not yet compiled or has changed.
I'm sorry if the change about aliases came quite unannounced. I didn't expect any problems since dollar signs are not allowed in template vars, but I heard from at least one case where people were doing exactly this.
Please do not use unallowed characters in template vars. Allowed are (from the HTML::Template::FAQ): Numbers, letters, '.', '/', '+', '-' and '_'.
This should work in HTML::Template::Compiled::Classic.
in HTML::Template::Compiled you should be only using numbers, letters and _.
The dot, for example, is special. If you need to get a hash key from the template parameters with special charcaters, you can try <tmpl_var _.$var$name$with$dollars >
There will be a workaround in the next version:
local $HTML::Template::Compiled::Compiler::DISABLE_NEW_ALIAS = 1;
Please report any bug you find.
The code is now hosted on https://github.com/perlpunk/HTML-Template-Compiled
If you have a bug report, you can also post it there in the "Issues" section.
In the bugreport, please include, if possible, the module version, perl version and a testcase that reproduces the error; that makes it easier to find the bug.
The issue with not reloading includes of includes should be fixed in version 0.95_003. If you have any problems though please report!
Using query() and the dot syntax might not work together always. If you have a tmpL_var name="..foo" (going up the stash one level) the var foo is not detected and will not be reported by the query() function. Since the dot syntax is for dereferencing hashes and method calls the query function might not make sense anyway. I believe it is a bad idea to let the program do things if the template is using a certain variable.
|ID||Subject||Status||Severity||Last Updated||Broken in||Fixed in|
|79215||[PATCH] Spelling mistake||resolved||4 years ago||1.000_001|
|27932||path in constructor was given, but it doesn't work correct||resolved||Important||4 years ago||0.86||0.97_004|
|105036||[PATCH] improve wording/grammar||resolved||4 years ago||1.002|
|57438||Test failures with Perl >= 5.11: Storable can't store REGEXP items||resolved||Normal||7 years ago||0.94||0.97_004|
|47227||<TMPL_NOPARSE> and a POD error||resolved||7 years ago||0.90
|70688||HTC::Classic crashes when tmpl_var has invalid characters (edge-case)||resolved||Normal||7 years ago||0.95||0.97_001|
|70676||HTML::Template::Compiled::Classic validation of variables||resolved||Normal||7 years ago||0.95||0.97_001|
|76070||Enhancement request - Expression expand variables with variable hashkeys||resolved||Wishlist||7 years ago||0.96||0.96_003|
|76072||Enhancement request - Chomping newlines from tags with easier syntax||resolved||Wishlist||7 years ago||0.96||0.96_002|
|72741||[PATCH] Spelling glitches||resolved||8 years ago||0.96_001|
|72740||[PATCH] POD fixes||resolved||8 years ago||0.96_001|
|68033||No meaningful README||resolved||Unimportant||8 years ago||0.95||0.95_002|
|70689||Enhancement Request - JSON escaping mechanism||resolved||Wishlist||8 years ago||0.95||0.95_003|
|66463||escape_js: doesn't escape back slash||resolved||Critical||8 years ago||0.94_002||0.95_001|
|70412||H::T::C::Classic ignores case-insensitivity flag||resolved||Important||8 years ago||0.95||0.95_001|
|46509||How to read the default_esape in a new plugin? How to use the escape plugins in a new plugin?||resolved||Wishlist||8 years ago||0.93|
|33869||Missing dependency declaration on Storable||resolved||Normal||8 years ago||0.91||0.94_002|
|63515||Bleadperl v5.13.6-313-gcbc736f breaks 0.94_002||resolved||Normal||9 years ago||0.94_002|
|46408||Examples are broken||resolved||Unimportant||10 years ago||0.93||0.94|
|45081||no installation as rpm package - dependence missing||resolved||10 years ago||0.93||0.94|
|28606||parameter path - false template file found||resolved||Important||10 years ago||0.86||0.94|
|43591||Fixes for two bugs in HTML::Template::Compiled 0.93||resolved||10 years ago||0.94|
|45082||broken at method chain is an error||resolved||10 years ago||0.93|
|30693||allow LOOP also for a single value||resolved||Wishlist||11 years ago||0.89||0.93|
|40341||closing IF_DEFINED is not recognized||resolved||Normal||11 years ago||0.91||0.93|
|30834||Varstring lookup for object methods broken||resolved||Wishlist||11 years ago||0.90||0.92|
|33383||<TMPL_IF_DEFINED ...></TMPL_IF> does not work||resolved||Important||11 years ago||0.90||0.92|
|29281||bug in Utils.pm||resolved||Important||12 years ago||0.87||0.88|
|28764||Only last plugin's tags are registered with HTML::Template::Compiled::Compiler||resolved||Important||12 years ago||0.87||0.88|
|28094||Differences in what HTML::Template and HTC accepts as param-name||resolved||12 years ago||0.87|
|28096||Bug in documentation?||resolved||Unimportant||12 years ago||0.87|
|28430||loop alias doesn't work using references/objects||resolved||Important||12 years ago||0.84
|27446||bug: escape_html escapes high-bit symbols||resolved||12 years ago||0.86||0.87|
|24128||HTML::Template::Compiled::Utils line 169||resolved||Normal||13 years ago||0.83||0.85|
|20675||query() should query TMPL_INCLUDE_VAR also (was: query and param don't work like in H::T)||resolved||Wishlist||13 years ago||0.72||0.73|
|19686||Unclear documentation||resolved||Normal||13 years ago||0.66||0.68|
|19662||global_vars not working/partially working?||resolved||Important||13 years ago||0.64||0.67|
|17851||Small compatibility bug||resolved||Normal||14 years ago||0.61|
|16682||wish: support default_escape||resolved||Wishlist||14 years ago||0.58||0.59|
This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.
Please report any issues with rt.cpan.org to firstname.lastname@example.org.