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

Reply via email to