Threading problem with subject threading
Bug #995324 reported by
Uday Reddy
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
VM |
In Progress
|
Medium
|
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
To post a comment you must log in.
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.