quick_maketext() function in
$prefix/Mailman/Archiver/HyperArch.py uses a 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 template language. Thus once a file for a given language 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.
This patch is applicable to Mailman 2.1.2 only.
A revised caching scheme which fully solves the problem is implemented by minor changes to two functions, one in
$prefix/Mailman/Archiver/HyperArch.py, the other in
$prefix/Mailman/Utils.py and inserting a trivial wrapper function in
Apply the patch from within the Mailman build directory using the command:
patch -p1 < path-to-patch-file
|2.1.3 and later.||Patch incorporated into Mailman source and no longer required.|
|Click to e-mail comments or complaints||Last updated: 29-Sep-03 11:31 pm|