You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Mike Perham (JIRA)" <ta...@jakarta.apache.org> on 2005/11/17 03:24:31 UTC

[jira] Created: (TAPESTRY-759) Body.get(cycle) throws exception

Body.get(cycle) throws exception
--------------------------------

         Key: TAPESTRY-759
         URL: http://issues.apache.org/jira/browse/TAPESTRY-759
     Project: Tapestry
        Type: Bug
  Components: Framework  
    Versions: 4.0    
    Reporter: Mike Perham
    Priority: Critical


The 4.0-beta-8 codebase says that Body.get(cycle) is deprecated but the current implementation simply throws an exception, breaking my old 3.0 components which use it.  Specifically it passes in null as the component parameter which is then asserted to be not-null inside TapestryUtils.getPageRenderSupport(...).  There is no workaround since the "use instead" javadoc for Body.get(cycle) is old of date - getPageRenderSupport(....) now takes two parameters and it is unclear what to pass in as the second "component" parameter.

I'm marking as critical simply because this method is no longer usable and there is no documented workaround.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org


[jira] Assigned: (TAPESTRY-759) Body.get(cycle) throws exception

Posted by "Howard M. Lewis Ship (JIRA)" <ta...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/TAPESTRY-759?page=all ]

Howard M. Lewis Ship reassigned TAPESTRY-759:
---------------------------------------------

    Assign To: Howard M. Lewis Ship

> Body.get(cycle) throws exception
> --------------------------------
>
>          Key: TAPESTRY-759
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-759
>      Project: Tapestry
>         Type: Bug
>   Components: Framework
>     Versions: 4.0
>     Reporter: Mike Perham
>     Assignee: Howard M. Lewis Ship
>     Priority: Critical

>
> The 4.0-beta-8 codebase says that Body.get(cycle) is deprecated but the current implementation simply throws an exception, breaking my old 3.0 components which use it.  Specifically it passes in null as the component parameter which is then asserted to be not-null inside TapestryUtils.getPageRenderSupport(...).  There is no workaround since the "use instead" javadoc for Body.get(cycle) is old of date - getPageRenderSupport(....) now takes two parameters and it is unclear what to pass in as the second "component" parameter.
> I'm marking as critical simply because this method is no longer usable and there is no documented workaround.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org


[jira] Closed: (TAPESTRY-759) Body.get(cycle) throws exception

Posted by "Howard M. Lewis Ship (JIRA)" <ta...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/TAPESTRY-759?page=all ]
     
Howard M. Lewis Ship closed TAPESTRY-759:
-----------------------------------------

    Fix Version: 4.0
     Resolution: Fixed

> Body.get(cycle) throws exception
> --------------------------------
>
>          Key: TAPESTRY-759
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-759
>      Project: Tapestry
>         Type: Bug
>   Components: Framework
>     Versions: 4.0
>     Reporter: Mike Perham
>     Assignee: Howard M. Lewis Ship
>     Priority: Critical
>      Fix For: 4.0

>
> The 4.0-beta-8 codebase says that Body.get(cycle) is deprecated but the current implementation simply throws an exception, breaking my old 3.0 components which use it.  Specifically it passes in null as the component parameter which is then asserted to be not-null inside TapestryUtils.getPageRenderSupport(...).  There is no workaround since the "use instead" javadoc for Body.get(cycle) is old of date - getPageRenderSupport(....) now takes two parameters and it is unclear what to pass in as the second "component" parameter.
> I'm marking as critical simply because this method is no longer usable and there is no documented workaround.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org