[jboss-jira] [JBoss JIRA] Created: (JBPORTAL-1856) Weather portlet doesn't recognise other units

dpocock (JIRA) jira-events at lists.jboss.org
Wed Jan 2 16:37:05 EST 2008


Weather portlet doesn't recognise other units
---------------------------------------------

                 Key: JBPORTAL-1856
                 URL: http://jira.jboss.com/jira/browse/JBPORTAL-1856
             Project: JBoss Portal
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 2.6.3 Final
         Environment: Debian, JBoss 4.2.1.GA
            Reporter: dpocock




Change the portlet instance preferences to use the URL for Paris, with Centigrade instead of Farenheit:

http://xml.weather.yahoo.com/forecastrss?p=FRXX0076&u=c

The portlet displays the temperate values in centigrade, but with the symbol `F'.  E.g., if the temperature is 5 degrees C, the portlet says 5F.

Looking at the RSS feed in the browser, it appears that it supplies the correct units:

<yweather:location city="Paris" region=""   country="FR"/>

<yweather:units temperature="C" distance="km" pressure="mb" speed="kph"/>
<yweather:wind chill="-5"   direction="70"   speed="11.27" />
<yweather:atmosphere humidity="76"  visibility="9.99"  pressure="0"  rising="0" />
<yweather:astronomy sunrise="8:44 am"   sunset="5:04 pm"/>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list