#2415: turbokid reload templates problems
----------------------+-----------------------------------------------------
Reporter: xaka | Owner: chrisz
Type: defect | Status: new
Priority: normal | Milestone: 1.0.x bugfix
Component: TurboKid | Version: 1.0.9
Severity: normal | Resolution:
Keywords: |
----------------------+-----------------------------------------------------
Comment (by chrisz):
Ok, I added your tests and was able to reproduce the problems: If you
reload or invalidate a base that is used by a different template (i.e.
they share the same master), then the other template will complain when
rendering because one of its bases is missing.
I think the main issue here is that templates are actually loaded under
two different names, depending on whether you load them directly or
indirectly as master templates through the Kid importer.
The current revision r6995 takes this into account and all your tests
pass. I have also simplified your tests and made them faster.
Let me know if you're satisfied with this solution, so we can close this
ticket and create a new TurboKid release.
--
Ticket URL: <http://trac.turbogears.org/ticket/2415#comment:12>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--
You received this message because you are subscribed to the Google
Groups "TurboGears Tickets" group.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en