Edgewall Software

Ticket #245 (closed defect: duplicate)

Opened 2 years ago

Last modified 2 years ago

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.

Attachments

Change History

Changed 2 years ago by cmlenz

  • status changed from new to closed
  • resolution set to fixed
  • component changed from General to Template processing
  • milestone changed from 0.6 to 0.5.1

This has already been fixed in [895].

Changed 2 years ago by cmlenz

  • status changed from closed to reopened
  • resolution fixed deleted

Changed 2 years ago by cmlenz

  • status changed from reopened to closed
  • resolution set to duplicate
  • milestone 0.5.1 deleted

Marking as duplicate of #240.

Add/Change #245 (wrong mapping of xi:include to compiled templates if the template names (not the paths) are the same)

Author


E-mail address and user name can be saved in the Preferences.


Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.