Bug 155041 - The BBC ion for the weather data engine fails when a search produces an exact match
Summary: The BBC ion for the weather data engine fails when a search produces an exact...
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Shawn Starr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-03 19:22 UTC by Alex Merry
Modified: 2008-01-07 04:58 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Merry 2008-01-03 19:22:09 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
OS:                Linux

If you search for a location using the BBC weather ion where there is only one match, it claims there were no matches.

For example, searching for "oxford" will produce only one match (try it at http://www.bbc.co.uk/weather/).  The weather applet will give the message "The place 'oxford' is not valid.  The data source is not able to find this place".

Searching for "london" will give a list of possible matches (again, see http://www.bbc.co.uk/weather/).  In this case, the weather applet will give a list of possible matches and allow you to select one.

The data engine needs to check for this special case and deal with it.
Comment 1 Shawn Starr 2008-01-07 04:58:57 UTC
Address several issues noted when doing a exact match for a place. In this case
'Oxford'. Because the website we're searching does an automatic redirect when it
finds an exact match we have to do catch this redirection and then we can get
the observations and 5 day forecast info. This now makes the BBC ion support
exact matches. Switch place info to use station (cosmetic)

CCBUG: 155041

This is fixed for KDE 4.1 and KDE 4.0.1