Closed Bug 311195 Opened 19 years ago Closed 19 years ago

When update URL is 404, engine update ignores updateCheckDays

Categories

(SeaMonkey :: Search, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: torisugari, Assigned: torisugari)

References

Details

(Keywords: fixed1.8)

Attachments

(1 file)

Splitted from bug 306576. Regardless of the HTTP status, we should record lastPingDate.
Attached patch Patch (deleted) — Splinter Review
Calling validateEngineNow() before HTTP status check. Please take a look at bug 306576 comment26 as well. This patch has tabs.
Attachment #198573 - Flags: review?(mconnor)
Comment on attachment 198573 [details] [diff] [review] Patch neil is probably a good SR for this: regardless of the addons stuff, this is a win because we don't want to hit the server more than once a day.
Attachment #198573 - Flags: review?(mconnor) → review+
Attachment #198573 - Flags: superreview?(neil.parkwaycc.co.uk)
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Assignee: search → torisugari
Status: ASSIGNED → NEW
Flags: blocking1.8rc1?
this isn't a stop ship critical bug. Feel free to nominate the patch if it gets sr for further discussion.
Flags: blocking1.8rc1? → blocking1.8rc1-
This significantly impacts the amount of work that needs to be done on the addons web tree for l10n, let's try to drive this in ASAP.
Blocks: 306576
Flags: blocking1.8rc1- → blocking1.8rc1?
Mike, we need more information than that. What's the change going to help, what's the risk of taking it, and what kind of testing can we do to have some confidence in this?
Flags: blocking1.8rc1? → blocking1.8rc1+
Asa, this patch makes us consider a server error a response to keep the search engine live. I consider a 404 a good sign of "no update", so does Mike et al. This is a good move to control the server and admin load we put on hosts for search engine plugins in general, and in the case of bug 306576, addons.m.o. Looking at the diff, I don't see a whole lot of risk, there is a whole bunch of error handling between the old place of validateEngineNow(theEngine) and the new one, which handles invalid date formats and all that. All perfectly fine reasons to not bother about updating the search engine plugin, IMHO.
Oops, we discussed this in a triage meeting, but didn't update the bug. We're just waiting on an SR now.
Comment on attachment 198573 [details] [diff] [review] Patch Sorry for not getting to this earlier, but myrealbox.com were upgrading when you made the request so it got caught up in the backlog.
Attachment #198573 - Flags: superreview?(neil.parkwaycc.co.uk) → superreview+
Attachment #198573 - Flags: approval1.8rc1?
Attachment #198573 - Flags: approval1.8rc1? → approval1.8rc1+
Checked in branch and trunk.
Status: NEW → RESOLVED
Closed: 19 years ago
Keywords: fixed1.8
Resolution: --- → FIXED
Product: Core → SeaMonkey
QA Contact: search
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: