Closed Bug 156876 Opened 22 years ago Closed 22 years ago

"Quote Message" menu item doesn't work on recently trunk

Categories

(MailNews Core :: Composition, defect)

defect
Not set
major

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: zhayupeng, Assigned: zhayupeng)

Details

(Keywords: regression)

Attachments

(1 file)

The contractID and call method of nsIWindowMediator has been changed. So, "Quote
Message" doesn't work.
Attached patch patchSplinter Review
Use new contract ID and call style to call the nsIWindowMediator.
Keywords: regression
Comment on attachment 90949 [details] [diff] [review]
patch

R=ducarroz
Attachment #90949 - Flags: review+
Comment on attachment 90949 [details] [diff] [review]
patch

sr=bienvenu, thanks. It might makes sense to grep for
datasource;1?name=window-mediator to see if anyone else is still using this -
this is the second bug I've seen on this issue.
Attachment #90949 - Flags: superreview+
there is all the occurance in Mozilla:
/extensions/inspector/resources/content/inspector.js, line 52 -- const
kWindowDataSourceCID = "@mozilla.org/rdf/datasource;1?name=window-mediator";
/xpfe/communicator/resources/content/tasksOverlay.js, line 166 -- var
windowManagerDS =
Components.classes['@mozilla.org/rdf/datasource;1?name=window-mediator'].getService(nsIWindowDataSource);
/xpfe/communicator/resources/content/tasksOverlay.js, line 193 -- var
windowManagerDS =
Components.classes['@mozilla.org/rdf/datasource;1?name=window-mediator'].getService(nsIWindowDataSource);
/mailnews/compose/resources/content/MsgComposeCommands.js, line 640 -- var
mailWindow =
Components.classes["@mozilla.org/rdf/datasource;1?name=window-mediator"]
and there is more in the commercial tree! maybe we should open a new bug for
those...
Yes, I think we should open a new bug and perhaps assign it to the person who
changed this. 
Pete, do you need me to check in the fix?
the fix for bug 132175 caused that regression...
I filed bug 156956 and another one for the commercial tree
Seems like we nee approval to check in. I will ask for it soon.
I have checked in it.
Thanks all
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
using trunk build 20021121 on winxp, macosx and linux Quote message is working now
verified 
Status: RESOLVED → VERIFIED
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: