Closed Bug 419555 Opened 16 years ago Closed 16 years ago

"Edit Draft" does not open a compose window

Categories

(Thunderbird :: General, defect)

defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: JoeS1, Assigned: jminta)

References

Details

(Keywords: regression)

Attachments

(1 file, 1 obsolete file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.6) Gecko/20060804 Firefox/1.5.0.6 (mahowi)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b4pre) Gecko/2008021803 Thunderbird/3.0a1pre ID:2008021803

Double-clicking on a draft fails to open the draft in compose mode.
Also seen with Templates.

Reproducible: Always

Steps to Reproduce:
1.Double click an existed draft
2.
3.
Actual Results:  
Does not open in composition
Fails Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b4pre) Gecko/2008021903 Thunderbird/3.0a1pre ID:2008021903

OK   Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b4pre) Gecko/2008021803 Thunderbird/3.0a1pre ID:2008021803

Suspect bug 416666 since the last 3 numbers have a bad conotation,
and also because -var msgComposeType; is part of the checkin.
Error console:
Error: msgComposeType is not defined
Source File: chrome://messenger/content/threadPane.js
Line: 175

Attached patch patch (obsolete) — Splinter Review
I don't have a good setup to test this, but this should do the trick.  If someone can confirm that it fixes things, I'll request review.  Otherwise it may take a few days for me to get my ducks in a row.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows XP → All
Hardware: PC → All
Version: unspecified → Trunk
Nope, needs something for msgComposeFormat too. I'm on the fence about whether using consts adds any clarity over just wrapping the arguments over a few lines, and using Components.interfaces.foo.bar directly.
Blocks: 416666
Keywords: regression
This effects also the handling of templates. Also here double-klicking on a template doesn't open it for editing.
Attached patch patch v2Splinter Review
Simple bustage fix.  This time with msgComposeFormat also. :-)
Assignee: nobody → jminta
Attachment #305658 - Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #306797 - Flags: superreview?(bienvenu)
Attachment #306797 - Flags: review?(bienvenu)
Attachment #306797 - Flags: superreview?(bienvenu)
Attachment #306797 - Flags: superreview+
Attachment #306797 - Flags: review?(bienvenu)
Attachment #306797 - Flags: review+
Checking in mailnews/base/resources/content/threadPane.js;
/cvsroot/mozilla/mailnews/base/resources/content/threadPane.js,v  <--  threadPane.js
new revision: 1.92; previous revision: 1.91
done
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: