[jboss-jira] [JBoss JIRA] Resolved: (SWAP-14) JBoss News Portlet - bad user input causes portlet to stop

Roy Russo (JIRA) jira-events at jboss.com
Mon Jul 24 14:46:11 EDT 2006


     [ http://jira.jboss.com/jira/browse/SWAP-14?page=all ]

Roy Russo resolved SWAP-14.
---------------------------

    Fix Version/s: PortletSwap 2.0
       Resolution: Done

Fixed in new svn repo: http://anonsvn.jboss.org/repos/portletswap/portlets/2_4/src/

> JBoss News Portlet - bad user input causes portlet to stop
> ----------------------------------------------------------
>
>                 Key: SWAP-14
>                 URL: http://jira.jboss.com/jira/browse/SWAP-14
>             Project: PortletSwap
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Portlets
>    Affects Versions: PortletSwap 2.0
>         Environment: jboss-portal-2.2.1RC3 running on Windows Server 2003
> JBoss News Portlet 2/14/06
>            Reporter: Rudy Keiser
>         Assigned To: Roy Russo
>             Fix For: PortletSwap 2.0
>
>
> If a user enters an invalid RSS URL in edit mode on the News Portlet an uncaught exception is thrown stopping the portlet for that user.
> It appears that the preference is saved since the portlet is unavailable to that user after a restart of the portal server.
> 2006-06-13 13:20:15,781 ERROR [org.jboss.portlet.news.NewsPortlet] Fatal Error reading/parsing XML Source.
> 2006-06-13 13:20:15,781 ERROR [org.jboss.portlet.news.NewsPortlet] The portlet threw an exception
> javax.portlet.PortletException: java.net.MalformedURLException: no protocol: www.cnn.com
> 	at org.jboss.portlet.news.NewsPortlet.doView(Unknown Source)
> 	at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:167)
> 	at javax.portlet.GenericPortlet.render(GenericPortlet.java:407)
> 	at org.jboss.portal.portlet.PortletContainer.invokeRender(PortletContainer.java:521)
> 	at org.jboss.portal.portlet.PortletContainer.dispatch(PortletContainer.java:433)
> 	at org.jboss.portal.server.app.ComponentInvocation.dispatch(ComponentInvocation.java:79)

-- 
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