Closed Bug 1808557 Opened 3 years ago Closed 2 years ago

Converting an email to a task does not work if the email has several parts

Categories

(Calendar :: General, defect)

Thunderbird 109
defect

Tracking

(thunderbird_esr102 unaffected, thunderbird113 affected, thunderbird115+ fixed)

RESOLVED FIXED
116 Branch
Tracking Status
thunderbird_esr102 --- unaffected
thunderbird113 --- affected
thunderbird115 + fixed

People

(Reporter: adrien.rybarczyk, Assigned: mkmelin)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36

Steps to reproduce:

  1. Have a message containing several part (Example: Content-Type: multipart/alternative;
    boundary="------------Nu7yz33AIGy0jYkZBaHf7PDJ")
  2. Convert the email into a task via the existing menu

Actual results:

The task description will contain the boundary of the multipart and will contain only that. So there will be no information from the email.

Expected results:

The problem exists only in beta. In 102.6.1, the feature works perfectly.

Can you attach a sample .eml that shows the issue?

Attached file test-2023-01-05.eml

Alice, can you find the regression window?
STR: put the sample .eml in a mail folder, then use the context menu Convert to > Task, and notice the body of the new event is showing the boundary="......" when it's should be showing "Hello"

Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(alice0775)

Thanks Alice! This would be a regression from bug 1800606.

Regressed by: 1800606

Still present in 111

Version: Thunderbird 109 → Thunderbird 113

Thanks for the update. We prefer to have version set to the earliest known occurrence of the issue.

Version: Thunderbird 113 → Thunderbird 109

Still present in 114
However, I have just noticed that the button is no longer accessible by right-clicking on the email. You have to use the More menu.

Assignee: nobody → mkmelin+mozilla

Makes conversion work (either through More | Convert To, or dnd of message on the Today pane).

We only want to use extracted content we got once. On furhter onDataAvailable we just need to consume the stream really.

Status: NEW → ASSIGNED
Attachment #9339815 - Attachment description: Bug 1808557 - Make convert message to event/task work again for multipart messages. r=#thunderbird-reviewers → Bug 1808557 - Make convert message to event/task work again for multipart messages. r=aleca

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/2eaade4a491a
Make convert message to event/task work again for multipart messages. r=aleca

Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 116 Branch

Comment on attachment 9339815 [details]
Bug 1808557 - Make convert message to event/task work again for multipart messages. r=aleca

[Approval Request Comment]
Regression caused by (bug #): bug 1800606
User impact if declined: non working feature
Testing completed (on c-c, etc.): c-c
Risk to taking this patch (and alternatives if risky): pretty safe

Attachment #9339815 - Flags: approval-comm-beta?
Duplicate of this bug: 1840640

Comment on attachment 9339815 [details]
Bug 1808557 - Make convert message to event/task work again for multipart messages. r=aleca

[Triage Comment]
Approved for beta

Attachment #9339815 - Flags: approval-comm-beta? → approval-comm-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: