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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to