Some portions of Smarty are broken in PHP >= 5.1.2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Dapper Backports |
Invalid
|
Undecided
|
Unassigned | ||
smarty (Ubuntu) |
Invalid
|
Medium
|
Unassigned | ||
Dapper |
Invalid
|
Undecided
|
Unassigned |
Bug Description
This problem is present in dapper.
The details of the problem aren't really worth going into much detail, here. It has to do with the way PHP handles references (or something). What makes this real nasty is that, if the user is not using PHP's E_STRICT (to make PHP show error messages for certain problems), he may not even get an error message, and may just have his Smarty templates all-of-a-sudden stop working properly. The php5 package in Ubuntu ships with E_STRICT *off*, by default!
An example of breakage due to this bug: I was using a Smarty "block" plug-in to create dynamic tables. Under the current Smarty/PHP combination in dapper, the tables would not render correctly.
For more detail on the problem, see this thread:
http://
The current version of Smarty in dapper is 2.6.11. If Smarty is simply upgraded to 2.6.12 or higher this problem should be solved.
The changes between Smary 2.6.11 and 2.6.13 are quite small (all bug fixes, I believe); I have not looked into the changes between 2.6.13 and any higher version. It seems likely that anyone whom will actually be using Smarty has a real good chance of running into this problem.
description: | updated |
Changed in smarty (Ubuntu Dapper): | |
status: | New → Invalid |
I'd definitely second this, especially if Dapper is aiming to become a presence in the server market.