portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 19233] New: - [PATCH] RSS portlet choked with empty RSS description
Date Tue, 22 Apr 2003 20:36:17 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19233>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19233

[PATCH] RSS portlet choked with empty RSS description

           Summary: [PATCH] RSS portlet choked with empty RSS description
           Product: Jetspeed
           Version: 1.4b4-dev /CVS
          Platform: All
               URL: http://www.twdata.org/dakine/NewRSSPortlet.diff
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Portlets
        AssignedTo: jetspeed-dev@jakarta.apache.org
        ReportedBy: mrdon@twdata.org


The RSS portlet assumed if the description element was present in the feed, it
had contents, which is not always the case.  I added a check to make sure the
element had a child text node before assigning its value to "description" and
thus preventing a NullPointerException.

The feed I discovered this is: http://www.thismodernworld.com/index.rdf

The patch is in diff -u format.

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message