You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org> on 2010/08/31 20:28:53 UTC

[jira] Closed: (TAP5-1194) ComponentEventLinkEncoder omits original Link's parameters when URL Rewriting has been applied.

     [ https://issues.apache.org/jira/browse/TAP5-1194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship closed TAP5-1194.
--------------------------------------

    Resolution: Invalid

As noted, prior bug fixes (available as part of 5.2) have invalidated this issue.

> ComponentEventLinkEncoder omits original Link's parameters when URL Rewriting has been applied. 
> ------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-1194
>                 URL: https://issues.apache.org/jira/browse/TAP5-1194
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.1.0.5
>            Reporter: Christian Riedel
>            Priority: Critical
>         Attachments: patch_ComponentEventLinkEncoder.txt, patch_ComponentEventLinkEncoder2.txt
>
>
> This was my use case:
> Page ABC renders a block that origins in another page XYZBlockSource. The block renders a form component and when being submitted Tapestry throws an exception that says "page ABC does not contain component form". 
> It happens because the ComponentEventLinkEncoder creates a new LinkImpl from scratch when the URL of the form and thereby the original link is rewritten. It omits the original link's parameters, which are empty most of the time. Component event links contain the 't:cp' parameter to point Tapestry on their containing page if it differs from the active page.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.