template access hierarchy is broken
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU Mailman |
Fix Released
|
High
|
Unassigned |
Bug Description
The quick_maketext(
caching scheme for templates extracted from one of the
four possible sources of templates, i.e. general, site,
domain and list specific templates.
The caching scheme is broken because the key to the
cache only uses the name of the template file and the
language. Thus once a a file for a given langauge has
been cached, regardless of which of the sources it was
obtained from, it is that template that is used by all lists,
regardless of the existence of a template in a preferred
source for that particular list.
The attached patch fixes this problem.
Apply the patch with the MM build directory as current
working directory using the command:
patch -p1 < path-to-patch-file
[http://
And do not forget to mailmanctl restart after applying the
patch!