PLEASE PROVIDE THE TEMPLATES AND/OR PHP CODE IN THE TASK DESCRIPTION (Not URL-s to them). THAT ALLOWS US TO REPRODUCE THE PROBLEM! OTHERWISE WE ARE NOT ABLE TO HELP YOU!
Remember to hide all the security-related pieces of code from the task description, like passwords, server paths etc. for your own safety. Once we close the task, we cannot edit it anymore!
FS#106 - View does not export the data format information to the compiler in template inheritance.
Opened by Zyx (Zyx) - Sunday, 09 August 2009, 03:51 GMT-7
Last edited by Zyx (Zyx) - Sunday, 09 August 2009, 04:42 GMT-7
Suppose we have a template inheritance: foo.tpl > base.tpl. The modification of base.tpl causes foo.tpl to be recompiled. However, in this scenario, the Opt_View::_compile() method does not export the data format and dynamic inheritance information to the compiler, so that it could generate an invalid template. The solution is to add:
To this method.
Sunday, 09 August 2009, 04:42 GMT-7
Reason for closing: Fixed
Additional comments about closing: Fixed in rev. 198