Closed Bug 345404 Opened 18 years ago Closed 18 years ago
"engine has no interval" error at startup, search doesn't work
The patch for bug 327932 had a bug - the search service will fail to load if an engine doesn't have an update interval specified.
I thought that _updateInterval was set unconditionally in the _parseAs functions, but it's only set in _parseAsOpenSearch if the engine description file has an UpdateInterval element, which leads to the error. This moves the fallback back into _scheduleNextUpdate and handles engines with no specified interval. Also, this makes sure we don't save update-specific information if the engine has no update URLs (which could potentially slow down startup), so that we don't even get into this situation if the engine doesn't have an update URL.
Assignee: nobody → gavin.sharp
Status: NEW → ASSIGNED
Attachment #230059 - Flags: review?(jminta)
Comment on attachment 230059 [details] [diff] [review] patch looks good to me. r=jminta
Attachment #230059 - Flags: review?(jminta) → review+
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.