mailman archiving sorting broken
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU Mailman |
New
|
Undecided
|
Unassigned |
Bug Description
This bug is for Mailman 2.1.x. Checking the mailman/2.1 branch shows that the problem still exists there. I am aware the focus is now on the 3.x branches. I am reporting this in case development is still being done on this branch.
Pipermail has indexes by subject, author and date. It stores by a tuple typed key.
When doing the default threading approach, HyperDatabase calls getOldestArticle with the subject.
def getOldestArticl
subject = subject.lower()
try:
key, tempid=
if subject!=subject2: return None
return tempid
except KeyError:
return None
Note the key used in the index operation is a string. This will always fail, because it is not the specialised article specific tuple that was actually used as a key by pipermail.
This bug was also reported here (but is attached to a milestone I cannot change):
https:/
Richard Tew wrote: /bugs.launchpad .net/mailman/ +bug/266572
>
>This bug was also reported here (but is attached to a milestone I cannot change):
>https:/
>
I marked this as a duplicate of 266572. I also made some changes to
266572 and added a comment which you may not have seen because I did
that before I marked this as a duplicate.
In any case, I think the patch with 266572 is incomplete. If you have
any ideas on how to fix it, let me know.
--
Mark Sapiro <email address hidden> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan