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

Martin Tzvetanov Grigorov resolved WICKET-6905.
-----------------------------------------------
    Resolution: Auto Closed

SPAM

> CLONE - WS broadcast of ClosedMessage rewrites touchedPages by its single page
> ------------------------------------------------------------------------------
>
>                 Key: WICKET-6905
>                 URL: https://issues.apache.org/jira/browse/WICKET-6905
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-native-websocket
>    Affects Versions: 7.7.0, 8.7.0
>         Environment: Java 8, Tomcat 9.0.27 and Jetty 9.4.18, Firefox 75.0
>            Reporter: Jessica norris
>            Assignee: Martin Tzvetanov Grigorov
>            Priority: Minor
>
> That causes a lost of instances of newly touched pages (within 
> PageStoreManager). For quite specific scenario that could have *visible* 
> impact.
> *Conditions* to be fulfilled to see effect:
>  # calling setResponsePage(new NewResponsePage(customParams)) within AjaxLink 
> (Link works)
>  ** this instance of passed page is not used for rendering (customParams are 
> lost) - page is overridden by AbstractWebSocketProcessor.onClose() - within 
> PersistentRequestAdapter.storeTouchedPages()
>  # RenderStrategy.{color:#660e7a}REDIRECT_TO_RENDER{color} must be applied
>  ** otherwise it is rendered before AbstractWebSocketProcessor.onClose()
>  # VoidPageManagerProvider must be used - 
> setPageManagerProvider({color:#000080}new 
> {color}VoidPageManagerProvider({color:#000080}this{color}));
>  ** otherwise it is saved and loaded within PageManager not only in session
> I'm attaching *test application* with example of losing page instance (and 
> passed arguments). Important lines marked {color:#FF0000}NOT WORKING{color} 
> in java and html files.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to