Bug 155041

Summary: The BBC ion for the weather data engine fails when a search produces an exact match
Product: [Unmaintained] plasma4 Reporter: Alex Merry <alex.merry>
Component: generalAssignee: Shawn Starr <shawn.starr>
Status: RESOLVED FIXED    
Severity: normal CC: plasma-bugs
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

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