[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-2614) RaiseEvent annotation does not fire if method return value is null

Pete Muir (JIRA) jira-events at lists.jboss.org
Mon Feb 11 16:30:04 EST 2008


     [ http://jira.jboss.com/jira/browse/JBSEAM-2614?page=all ]

Pete Muir closed JBSEAM-2614.
-----------------------------

    Resolution: Rejected

> RaiseEvent annotation does not fire if method return value is null
> ------------------------------------------------------------------
>
>                 Key: JBSEAM-2614
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2614
>             Project: JBoss Seam
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0.1.GA
>         Environment: MacOS X 10.5, Glassfish v2u1, JDK 1.5
>            Reporter: Cyrill Rᅢᄐttimann
>            Priority: Minor
>
> Methods with the annotation @RaiseEvent do not fire the event if the return value of the method is null:
> Excerpt from EventInterceptor.java:
> if ( result!=null || method.getReturnType().equals(void.class) ) {
> I do not see why methods returning null should not fire the event. Since navigation in seam is typically based on the return values of the methods, returning null is a common case.
> Regards,
> Cyrill

-- 
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 seam-issues mailing list