Closed Bug 1771339 Opened 2 years ago Closed 2 years ago

'My vCard' attachment menu item in Compose/Write window should warn if underlying data is missing

Categories

(MailNews Core :: Address Book, defect)

Thunderbird 102
defect

Tracking

(thunderbird_esr91 unaffected, thunderbird_esr102+ fixed, thunderbird100 unaffected, thunderbird101 affected, thunderbird102 affected)

RESOLVED FIXED
104 Branch
Tracking Status
thunderbird_esr91 --- unaffected
thunderbird_esr102 + fixed
thunderbird100 --- unaffected
thunderbird101 --- affected
thunderbird102 --- affected

People

(Reporter: aryx, Assigned: mkmelin)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

The 'My vCard' and 'My OpenPGP Public Key' attachment menu items in the Compose/Write window should warn if underlying data is missing. Right now they will switch to a checked state and the message can be sent without warning even if there is not vCard or OpenPGP key.

Blocks: 1764324
Keywords: regression
No longer regressed by: 1764324

I've fixed the OpenPGP key attachment in bug 1769212.

Let's morph this bug into a vcard problem bug.

Component: Security: OpenPGP → Address Book
Summary: 'My vCard' and 'My OpenPGP Public Key' attachment menu items in Compose/Write window should warn if underlying data is missing → 'My vCard' attachment menu item in Compose/Write window should warn if underlying data is missing

What's necessary for "attach my vCard" to work?

Flags: needinfo?(geoff)
Version: unspecified → Thunderbird 102

Try the escapedVCard property of the identity in use. If there's nothing there… there's no vCard.

Flags: needinfo?(geoff)
Blocks: tb102found
Assignee: nobody → mkmelin+mozilla
Status: NEW → ASSIGNED

The fix for bug 1778939 was not fully correct: For identities A (sign+attach) and B (don't sign+attach). Switch from A to B and back to A: won't attach as it should. I conclude the attachPgpKey should always be adjusted, not only for certain cases.

Depends on: 1778939

Comment on attachment 9285984 [details]
Bug 1771339 - Attach My vCard and My OpenPGP Key fixes. r=kaie

[Approval Request Comment]
Regression caused by (bug #): general openpgp composer enhancements for 102 not completely working yet
User impact if declined: unexpected message flags
Testing completed (on c-c, etc.): we need testing on beta, because we target 102
Risk to taking this patch (and alternatives if risky): low, only affects the flags that we're trying to fix

Attachment #9285984 - Flags: approval-comm-beta?
Target Milestone: --- → 104 Branch

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/f189c441a141
Attach My vCard and My OpenPGP Key fixes. r=kaie

Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED

Comment on attachment 9285984 [details]
Bug 1771339 - Attach My vCard and My OpenPGP Key fixes. r=kaie

[Triage Comment]
Approved for beta

Attachment #9285984 - Flags: approval-comm-beta? → approval-comm-beta+

Comment on attachment 9285984 [details]
Bug 1771339 - Attach My vCard and My OpenPGP Key fixes. r=kaie

[Approval Request Comment]
Regression caused by (bug #): unknown
User impact if declined: see comment 5, and bug description
Testing completed (on c-c, etc.): beta
Risk to taking this patch (and alternatives if risky): some risk

Attachment #9285984 - Flags: approval-comm-esr102?

Comment on attachment 9285984 [details]
Bug 1771339 - Attach My vCard and My OpenPGP Key fixes. r=kaie

[Triage Comment]
Approved for esr102

Attachment #9285984 - Flags: approval-comm-esr102? → approval-comm-esr102+

Magnus or Kai -- this is missing some dependencies on c-esr102 -- probably just bug 1778939. Can you request uplift?

Flags: needinfo?(mkmelin+mozilla)
Flags: needinfo?(kaie)

Requested

Flags: needinfo?(mkmelin+mozilla)
Flags: needinfo?(kaie)
Regressions: 1787614
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: