You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by bu...@apache.org on 2003/04/22 22:36:17 UTC
DO NOT REPLY [Bug 19233] New: -
[PATCH] RSS portlet choked with empty RSS description
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