Ticket #245 (closed defect: duplicate)
wrong mapping of xi:include to compiled templates if the template names (not the paths) are the same
| Reported by: | diefans@… | Owned by: | cmlenz |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | Template processing | Version: | 0.5 |
| Keywords: | xi:include wrong template | Cc: |
Description
I have structured my templates hierarchical so that in every folder/submodule resides a master.html which is included by the templates of the same folder. So, other folders - other master.html files.
the effect with genshi 0.5 is that allways that master.html is included by all templates (what is not intended and expressed by the xi:include value), that was compiled first (by the request the user or I by my self performed). So after a restart when I request another page, which is including another master.html then all pages that I request afterwards without restarting are using/including this first master.html (despite I defined another one).
I use turbogears 1.0.5, but the version has no impact on that effect. switching to genshi 0.4.4 the effect disappears.
