Closed Bug 472492 Opened 15 years ago Closed 15 years ago

Multiple dumps: "ex = TypeError: GetDBView() is null" when attempting to compose a message with account central view selected

Categories

(MailNews Core :: Composition, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 3.0b2

People

(Reporter: standard8, Assigned: standard8)

References

Details

Attachments

(1 file)

Attached patch The fixSplinter Review
1) Start Thunderbird or SeaMonkey.
2) Select an account top-level in the folder pane so that the account central view is displayed.
3) Select Write.

On the console there will be dumps of the following:

ex = TypeError: GetDBView() is null

This is caused by GetSelectedMessages catching an error and dumping it. This is incorrect, if GetDBView() is null we should just return straight away. We should also drop the try/catch as that may hide other errors that are occurring.
Attachment #355752 - Flags: superreview?(neil)
Attachment #355752 - Flags: review?(bienvenu)
Attachment #355752 - Flags: superreview?(neil) → superreview+
Attachment #355752 - Flags: review?(bienvenu) → review+
Checked in: http://hg.mozilla.org/comm-central/rev/718e269e5fc4
Status: NEW → RESOLVED
Closed: 15 years ago
OS: Mac OS X → All
Hardware: x86 → All
Resolution: --- → FIXED
Blocks: 474000
You need to log in before you can comment on or make changes to this bug.