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

Rakesh A updated WICKET-6248:
-----------------------------
    Attachment: modal-ex.7z

> Issue with modal dialog cookie when CryptoMapper & mounted page recreation is 
> disabled
> --------------------------------------------------------------------------------------
>
>                 Key: WICKET-6248
>                 URL: https://issues.apache.org/jira/browse/WICKET-6248
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-extensions
>    Affects Versions: 6.24.0
>            Reporter: Rakesh A
>         Attachments: modal-ex.7z
>
>
> ModalWindow position/dimension cookie, is not sent (on close) for mounted 
> pages. This seems to be due to the 'path' value of cookie being set to mount 
> path. Please find the details about reproduction scenario below
> 1. Enable CryptoMapper
> 2. Set mounted page recreation after expiry to false 
> (getPageSettings().setRecreateMountedPagesAfterExpiry(false);)
> 3. Mount a page with more than one mount path segments (or path parameter)
> With #1 and #2 - encrypted URLs for ajax calls will not have page mount 
> segments in it and will look like - /<context>/<encrypted>
> But the page itself has URL like - /<context>/<segment1>/<segment2>, in this 
> case when we use 'document.cookie', to set a cookie, 'path' value for this 
> cookie will have mount segments in it.
> Please find the attached quick start to reproduce this issue.
> Try accessing URL '<domain>:<port>/<context>/modal-ex/my-page/01' 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to