[gatein-issues] [JBoss JIRA] Commented: (GTNPORTAL-1330) Exceptions are not properly handled in the Portlet part of the application registry

Minh Hoang TO (JIRA) jira-events at lists.jboss.org
Thu Jul 29 05:33:21 EDT 2010


    [ https://jira.jboss.org/browse/GTNPORTAL-1330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12541800#action_12541800 ] 

Minh Hoang TO commented on GTNPORTAL-1330:
------------------------------------------

I made a mistake in the last comment, the code snippet to produce a more appropriated exception is (in the same class UIPortletManagement.PortletExtra)

public String getDescription()
{
  if("GadgetPortlet".equals(name_)
  {
    int zeroDivision = 1/0;
  }

  return getMetaValue(MetaInfo.DESCRIPTION, name_);
}

> Exceptions are not properly handled in the Portlet part of the application registry
> -----------------------------------------------------------------------------------
>
>                 Key: GTNPORTAL-1330
>                 URL: https://jira.jboss.org/browse/GTNPORTAL-1330
>             Project: GateIn Portal
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: User Interface
>    Affects Versions: 3.1.0-CR01
>            Reporter: Chris Laprun
>            Assignee: Minh Hoang TO
>             Fix For: 3.2.0-GA
>
>         Attachments: Screen shot 2010-06-17 at 4.43.13 PM.png
>
>   Original Estimate: 1 day
>  Remaining Estimate: 1 day
>
> If an exception occurs during the processing of portlet information, the page will not display properly but without error messages, and part of the markup will appear on the page.

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

        


More information about the gatein-issues mailing list