Closed Bug 242098 Opened 20 years ago Closed 20 years ago

widgets missing in search when first opened

Categories

(SeaMonkey :: MailNews: Message Display, defect)

x86
All
defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: spam, Assigned: neil)

Details

(Keywords: regression)

Attachments

(2 files)

current trunk CVS, Linux

Open Tools->Search Messages:
The search window lack the two selects and form for filling in a search term 

I see these warnings in JS console:

Error: uncaught exception: [Exception... "Component returned failure code:
0x80004002 (NS_NOINTERFACE) [nsISupports.QueryInterface]"  nsresult: "0x80004002
(NS_NOINTERFACE)"  location: "JS frame ::
chrome://messenger/content/SearchDialog.js :: setupDatasource :: line 524" 
data: no]

Error: gCurrentFolder has no properties
Source File: chrome://messenger/content/SearchDialog.js
Line: 402

Error: gCurrentFolder has no properties
Source File: chrome://messenger/content/SearchDialog.js
Line: 402

Error: gMailSession has no properties
Source File: chrome://messenger/content/SearchDialog.js
Line: 281


If i click the "clear" button, the widgets appear, but are empty.
If i then select another mailbox, the widgets "fill in" select options and can
be used.

I believe this is a regression. An otherwise identical build from the 25th is OK.
Summary: widgets missing in search on first open → widgets missing in search when first opened
Comfirmed with 2004042808-trunk/Win2K.
OS: Linux → All
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: regression
confirmed ditto Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a)
Gecko/2004042909 (trunk)
neil checked in at 2004-04-28 05:48 for bug 226270.
Backing that out cures this bug:

cvs update -j1.84 -j1.83
mozilla/mailnews/base/search/resources/content/SearchDialog.js
cvs update -j1.19 -j1.18 mozilla/mailnews/base/search/src/nsMsgSearchSession.h
cvs update -j1.50 -j1.49 mozilla/mailnews/base/search/src/nsMsgSearchSession.cpp
cvs update -j1.28 -j1.27 mozilla/mailnews/base/search/public/nsIMsgSearchSession.idl
cvs update -j1.31 -j1.30 mozilla/mailnews/base/resources/content/searchBar.js
Attached patch proposed fixSplinter Review
Assignee: sspitzer → bienvenu
Status: NEW → ASSIGNED
Attachment #147400 - Flags: superreview?(mscott)
Neil has cleaned up after me so many times...returning the favor in a small way :-)
Attachment #147400 - Flags: superreview?(mscott) → superreview+
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Attached patch Actual fixSplinter Review
I forgot to delete the variable in my bug 226270 patch :-(
Assignee: bienvenu → neil.parkwaycc.co.uk
Status: RESOLVED → ASSIGNED
Resolution: FIXED → ---
Comment on attachment 147407 [details] [diff] [review]
Actual fix

Whomever gets there first, feel free to r/sr this trivial deletion :-)
Attachment #147407 - Flags: superreview?(bienvenu)
Attachment #147407 - Flags: review?(mscott)
Attachment #147407 - Flags: review?(mscott) → review+
Attachment #147407 - Flags: superreview?(bienvenu) → superreview+
Fix checked in. Sorry for causing this :-[
thanks for fixing it so quick :)
Status: ASSIGNED → RESOLVED
Closed: 20 years ago20 years ago
Resolution: --- → FIXED
Product: Browser → Seamonkey
Component: MailNews: Search → MailNews: Message Display
QA Contact: search
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: