Closed Bug 1464763 Opened 6 years ago Closed 6 years ago

Undoing a delete corrupts thread view

Categories

(Thunderbird :: Folder and Message Lists, defect)

52 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 93923

People

(Reporter: robert, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0
Build ID: 20180323171851

Steps to reproduce:

 * Open an e-mail thread (I have threads enabled in INBOX)
 * Delete the root of the thread. Submessages will become roots
 * Undo the delete



Actual results:

The root message reappeared as expected, with the submessages. However, the submessages that have become roots during the deletion are still present in the view and were showing corrupted titles

Intermediate results:

 * Open an e-mail thread (I have threads enabled in INBOX)

root message 1
root message 2
  - submessage 3
  - submessage 4
root message 5

 * Delete the root of the thread. Submessages will become roots

root message 1
root message that was a submessage 3
root message that was a submessage 4
root message 5

 * Undo the delete

root message 1
root message 2
  - submessage 3
  - submessage 4
root message that was a submessage 3 - corrupted
root message that was a submessage 4 - corrupted
root message 5



Expected results:

A correct view should have been shown where the submessages are not both as roots in the view and as children of the root message. Equivalent to the starting situation.

The submessages should probably have been dereferenced before restoring the root or adding the roots submessages.
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.