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

Engine Service proxies don't correctly forward "post" parameter of IEngineService.getLink

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0
    • 4.0
    • Framework
    • None

    Description

      From the code for org.apache.tapestry.services.impl.EngineServiceOuterProxy:

      public ILink getLink(boolean post, Object parameter)

      { return _delegate.getLink(false, parameter); }

      Note that the "post" parameter is ignored and false is always passed through to the delegate. Not sure what the extent of the downstream effects is, but I've run in to one: this prevents persistence strategies from ever acting on a post=true case.

      The same code issue exists in EngineServiceInnerProxy as well. Making the obvious changes in both cases seems to work great.

      Attachments

        Issue Links

          Activity

            People

              hlship Howard Lewis Ship
              jefflub Jeff Lubetkin
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: