tapestry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Igor Drobiazko (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (TAP5-823) Message about incompatible return type of a render phase method is misleading
Date Thu, 31 Dec 2009 16:53:29 GMT

     [ https://issues.apache.org/jira/browse/TAP5-823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Igor Drobiazko reassigned TAP5-823:
-----------------------------------

    Assignee: Igor Drobiazko

> Message about incompatible return type of a render phase method is misleading
> -----------------------------------------------------------------------------
>
>                 Key: TAP5-823
>                 URL: https://issues.apache.org/jira/browse/TAP5-823
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.2.0
>            Reporter: Igor Drobiazko
>            Assignee: Igor Drobiazko
>             Fix For: 5.2.0
>
>
> Returning an incompatible type in a render phase method results in a following exception:
> "The return value from a render phase event method was not compatible the expected return
type of java.lang.Boolean. You should change the method to return the correct type."
> The message of the exception is misleading because org.apache.tapestry5.internal.structure.RenderPhaseEventHandler
also accepts RenderCommand and Renderable as return types. The message should be fixed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message