Threading problem with subject threading

Bug #995324 reported by Uday Reddy on 2012-05-06
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Uday Reddy

Bug Description

Here is a pretty intricate problem. Assume a folder contains messages

  M1: Subject A
        M2: Subject A

and subject threading has grouped M1 and M2 together.

If M2's parent (say P) with a different subject B gets inserted into the folder, VM's threading database becomes inconsistent. Essentially, both M1's thread and P's thread claim ownership of M2.

M2's thread-list is reset. However, M1's thread-subtree still contains M2. The subject node for "A" seems to retain M2 as well.

Related branches

Uday Reddy (reddyuday) wrote :

Revision 1400 fixes some of the cache and summary update issues that arise here.

However, fixing the subject thread node of M1 so that M2 gets deleted from there is a complex problem. Essentially, M2 should be "unthreaded" from M1's subject thread. The existing unthreading code doesn't do this kind of thing. So, new code would be needed.

description: updated
Changed in vm:
status: Triaged → In Progress
Uday Reddy (reddyuday) wrote :

Test case in test-threads-subject. Add the message from test-threads-subject+ to the IMAP server, and do get-new-mail to invoke the bug.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers