Closed Bug 1904799 Opened 1 year ago Closed 1 year ago

Database transfer info masquerading as nsIDBFolderInfo when it isn't

Categories

(MailNews Core :: Database, defect)

defect

Tracking

(thunderbird_esr128 fixed)

RESOLVED FIXED
129 Branch
Tracking Status
thunderbird_esr128 --- fixed

People

(Reporter: darktrojan, Assigned: darktrojan)

References

Details

Attachments

(1 file)

You can call nsIDBFolderInfo.GetTransferInfo or nsIMsgFolder.dBTransferInfo to get the info to transfer from one database to another, and it claims to be an instance of nsIDBFolderInfo when it really isn't one. Accessing any of the properties it should have causes a crash.

Really, it's much more like an nsIPropertyBag2, so I'm going to make it into one.

See Also: → 550286

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/940e67e38340
Change nsIDBFolderInfo.GetTransferInfo to return nsIPropertyBag2. r=BenC

Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch

Since we're early in esr 128, this will want to be uplifted?

Flags: needinfo?(geoff)
See Also: → 1913224
Flags: needinfo?(geoff)

Geoff, uplift to esr is needed.

Flags: needinfo?(geoff)

Comment on attachment 9409662 [details]
Bug 1904799 - Change nsIDBFolderInfo.GetTransferInfo to return nsIPropertyBag2. r=BenC

[Approval Request Comment]
Needed for bug 1913224 which was already uplifted

Flags: needinfo?(geoff)
Attachment #9409662 - Flags: approval-comm-esr128?

Comment on attachment 9409662 [details]
Bug 1904799 - Change nsIDBFolderInfo.GetTransferInfo to return nsIPropertyBag2. r=BenC

[Triage Comment]
Approved for esr128

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

Attachment

General

Created:
Updated:
Size: