Closed Bug 420770 Opened 17 years ago Closed 17 years ago

File | Open saved message doesn't work anymore

Categories

(Thunderbird :: Mail Window Front End, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mkmelin, Assigned: neil)

References

Details

(Keywords: regression)

Attachments

(2 files)

File | Open saved message doesn't work anymore on trunk, when you try it nothing at all happens. No errors in the error console either.
Not that it helps my understanding, but there's an error in my (2008030303/Win) console: Error: uncaught exception: [Exception... "Cannot modify properties of a WrappedNative" nsresult: "0x80570034 (NS_ERROR_XPC_CANT_MODIFY_PROP_ON_WN)" location: "JS frame :: chrome://messenger/content/mailWindowOverlay.js :: MsgOpenFromFile :: line 1676" data: no]
2008022603 works, 2008022703 fails. Wonder whether I can blame timeless' filepicker patch...
Blocks: 412822
Attached patch Suite patchSplinter Review
Attachment #307200 - Flags: review?(mnyromyr)
Oh, sure, make me look like the patch copycat, just because I was trying to fix you too and my suite build died and I didn't want to stay up while it built again ;)
Attachment #307268 - Flags: review?(mkmelin+mozilla)
OS: Linux → All
Hardware: PC → All
Comment on attachment 307268 [details] [diff] [review] Tbird patch [checked in] Works fine, thx! r=me
Attachment #307268 - Flags: review?(mkmelin+mozilla) → review+
Comment on attachment 307268 [details] [diff] [review] Tbird patch [checked in] mail/base/content/mailWindowOverlay.js 1.188
Attachment #307268 - Attachment description: Tbird patch → Tbird patch [checked in]
ha Ha! I got mine in first, though, so now you have to own the bug!
Assignee: nobody → neil
Comment on attachment 307200 [details] [diff] [review] Suite patch >- var uri = fp.fileURL; >+ var uri = fp.fileURL.QueryInterface(Components.interfaces.nsIURL); Actually, I find this rather worrisome. So, if fp.fileURL returns an nsIURL (like it even claims in <http://mxr.mozilla.org/seamonkey/source/widget/public/nsIFilePicker.idl#136>!), then why doesn't the IDL define it as such? nsIURL is even derived from nsIURI! Why don't we just change the interface to return the right type?
Depends on: 421229
Attachment #307200 - Flags: review?(mnyromyr) → review+
Fix checked in.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: