Open Power Template 2.x family
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!
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#165 - Processor cleanup during the compilation crashes inheritance with opt:root include
Attached to Project:
Open Power Template
Opened by Zyx (Zyx) - Wednesday, 30 June 2010, 23:21 GMT-7
Last edited by Zyx (Zyx) - Wednesday, 01 September 2010, 04:11 GMT-7
Opened by Zyx (Zyx) - Wednesday, 30 June 2010, 23:21 GMT-7
Last edited by Zyx (Zyx) - Wednesday, 01 September 2010, 04:11 GMT-7
|
DetailsBefore every compilation, the compiler executes the following statements to clear the processors:
~~~~ foreach($this->_processors as $proc) { $proc->reset(); } ~~~~ However, when template inheritance is used with `opt:root include`, this loop is executed again and removes the snippets set by the descendant templates. A possible solution may be rewriting `opt:root include` support in order not to load another compiler. Check if the same problem does not affect 2.0 branch. |
This task depends upon
Closed by Zyx (Zyx)
Wednesday, 01 September 2010, 04:11 GMT-7
Reason for closing: Fixed
Additional comments about closing: Seems to work now.
Wednesday, 01 September 2010, 04:11 GMT-7
Reason for closing: Fixed
Additional comments about closing: Seems to work now.