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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.0
    • Component/s: Framework
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: