Edgewall Software

Opened 16 years ago

Closed 16 years ago

#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.

Change History (3)

comment:1 Changed 16 years ago by cmlenz

  • Component changed from General to Template processing
  • Milestone changed from 0.6 to 0.5.1
  • Resolution set to fixed
  • Status changed from new to closed

This has already been fixed in [895].

comment:2 Changed 16 years ago by cmlenz

  • Resolution fixed deleted
  • Status changed from closed to reopened

comment:3 Changed 16 years ago by cmlenz

  • Milestone 0.5.1 deleted
  • Resolution set to duplicate
  • Status changed from reopened to closed

Marking as duplicate of #240.

Note: See TracTickets for help on using tickets.