Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.3.3

Bug #14097 Multiple INCLUDE on one line don't work -- wrong RegExp
Submitted: 2008-06-06 13:15 UTC
From: jockie Assigned:
Status: No Feedback Package: HTML_Template_IT (version 1.2.1)
PHP Version: Irrelevant OS: OS-independent
Roadmaps: (Not assigned)    
Subscription  


 [2008-06-06 13:15 UTC] jockie (Jochen Kieser)
Description: ------------ Having more than one per template line results in none of those templates being loaded. Seems to be a problem of the RegExp used in HTML/Template/IT.php function getFile Test script: ---------------
Expected result: ---------------- Both INCLUDE comments replaced by their corresponding file's contents Actual result: -------------- Neither first nor second INCLUDE is actually done for that line

Comments

 [2008-08-11 13:09 UTC] narcisradu (Narcis Radu)
To solve this problem use U modifier at line 933: "#<!-- INCLUDE (.*) -->#Uime", "\$this->getFile('\\1')", $content
 [2009-09-21 05:45 UTC] doconnor (Daniel O'Connor)
-Status: Open +Status: Feedback
We need a reproduce script, works for us. carlos says: "Bug #14097 I can“t reprocude anymore. I've ben using the call method listed above. My IT.php version is IT.php,v 1.20 2006/08/17 15:47:22 dsp Exp"
 [2010-02-21 17:43 UTC] doconnor (Daniel O'Connor)
-Status: Feedback +Status: No Feedback
No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you.