Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-759

Body.get(cycle) throws exception

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.0
    • Component/s: Framework
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              hlship Howard Lewis Ship
              Reporter:
              mperham Mike Perham
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: