In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
368 [In-Portal CMS] Front End bug report always 2009-10-10 07:09 2010-01-11 22:05
alex  
alex  
normal  
closed 5.0.1  
fixed  
 
none 5.0.2-B1  
0
0000368: Misspelled variable name in "kApplication::IncludeTemplate" method resulting in ignored "is_silent" parameter
Variable $block_params is used instead of $params in "kApplication::IncludeTemplate" method. Because of it parameter "is_silent" won't work. By default when template given to this method is missing in file system, then fatal error is raised. When "is_silent" parameter is given, just notice is raised and script continues it's execution.

Luckily m_ModuleInclude tag, that required such functionality was calling "NParser::IncludeTemplate" directly, not using "kApplication::IncludeTemplate" method designed for it.
patch IncludeTemplate method problem.patch (997) 2009-10-10 07:09
http://tracker.in-portal.org/file_download.php?file_id=91&type=bug
Issue History
2010-01-11 22:05 Dmitry Note Added: 0001353
2010-01-11 22:05 Dmitry Status resolved => closed
2009-10-25 15:59 alex Summary Misspelled variable name in "kApplication::IncludeTemplate" method resulting in ingnored "is_silent" parameter => Misspelled variable name in "kApplication::IncludeTemplate" method resulting in ignored "is_silent" parameter
2009-10-25 15:59 alex Note Added: 0000980
2009-10-25 15:59 alex Status reviewed and tested => resolved
2009-10-25 15:59 alex Fixed in Version => 5.0.2-B1
2009-10-25 15:59 alex Resolution open => fixed
2009-10-25 15:59 alex Changeset attached 5.0.x r12790
2009-10-25 15:57 alex Note Added: 0000979
2009-10-25 15:57 alex Target Version Icebox => 5.0.2
2009-10-18 01:50 Dmitry Note Added: 0000910
2009-10-18 01:50 Dmitry Assigned To !COMMUNITY => alex
2009-10-18 01:50 Dmitry Status needs testing => reviewed and tested
2009-10-10 07:10 alex Target Version => Icebox
2009-10-10 07:09 alex Assigned To => !COMMUNITY
2009-10-10 07:09 alex Status active => needs testing
2009-10-10 07:09 alex New Issue
2009-10-10 07:09 alex File Added: IncludeTemplate method problem.patch

Notes
(0000910)
Dmitry   
2009-10-18 01:50   
Tested on Advanced theme ok
(0000979)
alex   
2009-10-25 15:57   
Moving to 5.0.2 release as community input during 5.0.2-B1 version testing.
(0000980)
alex   
2009-10-25 15:59   
Fix committed to 5.0.x branch. Commit Message:

Fixes 0000368: Misspelled variable name in "kApplication::IncludeTemplate" method resulting in ignored "is_silent" parameter
(0001353)
Dmitry   
2010-01-11 22:05   
Closing completed tasks.