You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Igor Drobiazko (JIRA)" <ji...@apache.org> on 2009/08/25 16:01:59 UTC

[jira] Created: (TAP5-823) Message about incompatible return type of a render phase method is misleading

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.0
            Reporter: Igor Drobiazko


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.


[jira] Assigned: (TAP5-823) Message about incompatible return type of a render phase method is misleading

Posted by "Igor Drobiazko (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Closed: (TAP5-823) Message about incompatible return type of a render phase method is misleading

Posted by "Igor Drobiazko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Drobiazko closed TAP5-823.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 5.2.0

Last fix for 2009.

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


[jira] Assigned: (TAP5-823) Message about incompatible return type of a render phase method is misleading

Posted by "Igor Drobiazko (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Closed: (TAP5-823) Message about incompatible return type of a render phase method is misleading

Posted by "Igor Drobiazko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Drobiazko closed TAP5-823.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 5.2.0

Last fix for 2009.

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