Closed Bug 261847 Opened 20 years ago Closed 20 years ago

Seach plug-ins Update Mechanism Not Working

Categories

(Firefox :: Search, defect)

1.0 Branch
x86
All
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: rebron, Assigned: bugs)

Details

(Keywords: fixed-aviary1.0)

Attachments

(1 file)

Code from: amazondotcom.src

<BROWSER
        update="http://www.mozilla.org/products/firefox/plugins/amazondotcom.src"
       
updateIcon="http://www.mozilla.org/products/firefox/plugins/amazondotcom.png"
        updateCheckDays="3"
	>
The browser needs to check code from the search plug-in in the local store and
pull from the server based on updateCheckDays parameter and update as necessary.

Not sure if this is a client or server issue.
Flags: blocking-aviary1.0?
OS: Windows XP → All
marking as + per Ben.
Flags: blocking-aviary1.0? → blocking-aviary1.0+
Attached patch patchSplinter Review
1 - correct string usage
2 - validate engines used for GetInternetSearchURL too - this basically checks
to see if the update interval has expired and we need to check for updates.
Comment on attachment 161453 [details] [diff] [review]
patch

>Index: xpfe/components/search/src/nsInternetSearchService.cpp
>===================================================================
>RCS file: /cvsroot/mozilla/xpfe/components/search/src/nsInternetSearchService.cpp,v
>retrieving revision 1.207.6.5
>diff -p -u -8 -r1.207.6.5 nsInternetSearchService.cpp
>--- xpfe/components/search/src/nsInternetSearchService.cpp	8 Oct 2004 00:56:31 -0000	1.207.6.5
>+++ xpfe/components/search/src/nsInternetSearchService.cpp	8 Oct 2004 08:29:47 -0000
>@@ -2642,17 +2642,19 @@ InternetSearchDataSource::GetInternetSea
[...]
> 	if (!engine)	return(NS_ERROR_UNEXPECTED);
> 
>-	// if its a engine from a search category, then get its "#Name",
>+  validateEngine(engine);
>+  
>+  // if its a engine from a search category, then get its "#Name",

Indentation is horked here; file seems to use hard tabs.

r=vladimir@pobox.com with indentation change
Attachment #161453 - Flags: review+
Comment on attachment 161453 [details] [diff] [review]
patch

sr=me -- indentation in rjc code is a trail of tears, to be mopped up after
aviary 1.0, on the trunk.

/be
Attachment #161453 - Flags: superreview+
Comment on attachment 161453 [details] [diff] [review]
patch

a=asa for aviary checkin.
Attachment #161453 - Flags: approval-aviary+
fixed br & trunk
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Keywords: fixed-aviary1.0
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: