nsIMsgIdentity folder attributes should be plain attributes
Categories
(MailNews Core :: General, task)
Tracking
(Not tracked)
People
(Reporter: darktrojan, Assigned: darktrojan)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
If you have an identity object and get (e.g.) the draftFolder
attribute, the code attempts to find and create an appropriate nsIMsgFolder
object from the URL in the preferences, even one that doesn't exist. These attributes should just get/set the URI in the preferences, and there should be separate functions for finding a real nsIMsgFolder
that really exists. Really.
Yes, somebody WONTFIXed a previous bug for a similar thing, but this time we're going to do it, because we're building a database that doesn't have imaginary folders in it.
Assignee | ||
Comment 1•26 days ago
|
||
The identity's preferences will have no value initially. It could be set by something like IMAP folder discovery.
Only when we need to use one of the folders will we attempt to create it if it doesn't already exist.
Updated•19 days ago
|
Assignee | ||
Updated•19 days ago
|
Pushed by vineet@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/dfaaef430583
Change how nsIMsgIdentity folder attributes work. r=mkmelin
Description
•