Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Genshi xi:include Caching Issue #16
Original Author: pedersen, Original Timestamp: 2011-03-29 03:30:04.152000
Original Body: We're experiencing a caching issue with genshi when we include two different files in two different directories that happen to have the same name. I'm not sure if this is actually a Genshi defect, or if it belongs in TG, but I figured it was enough of an issue to bring up here. Example:
templates/examplea/index.html includes templates/examplea/include.html templates/exampleb/index.html includes templates/exampleb/include.html
Sometimes when visiting the controller hooked to the exampleb template, the examplea include is used (and vice-versa).
To illustrate, I've attached a quickstart project that illustrates this behavior. To replicate:
Our Genshi version: 0.5.1 We're able to reproduce this in TG2.1a3+ (including the most recent 2.1b1).
01/27/10 09:21:41 changed by rpetrello
Delete 01/27/10 09:25:36 changed by rpetrello
Worth mentioning - this is very possibly a Genshi bug. In fact, this ticket in Genshi's tracker describes our issue perfectly: http://genshi.edgewall.org/ticket/240
Delete 09/25/10 15:43:51 changed by mramm
If we can't fix this, we need to lean on the genshi folks, but I'm going to mark down the priority since it's not something we can change in our code, and I don't think it should be a blocker for a 2.1 release.
Original Author: nlaurance, Original Timestamp: 2011-05-27 12:33:52.335000
Original Body: I have the same issues as described here and http://genshi.edgewall.org/ticket/240 with Genshi 0.6 (python 2.6, Ubuntu 10.04 LTS)
the change log http://genshi.edgewall.org/browser/tags/0.6.0/ChangeLog states that this has been fixed in 0.5.1... confusing