You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Juliano Viana (JIRA)" <ji...@apache.org> on 2008/04/01 15:54:25 UTC

[jira] Created: (WICKET-1471) FeedbackPanel does not work properly in clustered environment

FeedbackPanel does not work properly in clustered environment
-------------------------------------------------------------

                 Key: WICKET-1471
                 URL: https://issues.apache.org/jira/browse/WICKET-1471
             Project: Wicket
          Issue Type: Bug
    Affects Versions: 1.3.2
            Reporter: Juliano Viana
             Fix For: 1.3.3
         Attachments: WebSession.patch

Environment: Tomcat 5.5.25, Java 6, non-sticky session clustering, redirect to render strategy.

Consider the following scenario:

- Two tomcat instances running a Wicket application in clustered mode
- Application contains a page that has a form and a feedback panel
- Web browser posts the form. The post is processed in cluster node A
- Application in cluster node A validates the form and produces some feedback messages
- Request ends, Wicket -->clears all component feedback messages from the session<-- , replicates the session, and issues a redirect to render the page
- Browser follows the redirect and hits the application in node B
- Application in node B renders the page but, because there are no feedback messages on the session , the feedback panel is not made visible

The solution I found (don't know if its the best one) is to change WebSession.java to clear component feedback messages only if the current request is not a redirect.
This solution breaks one test case (WicketTesterTest) because it takes the broken behavior for granted. 

I will attach a patch to WebSession and to WicketTesterTest.

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


[jira] Updated: (WICKET-1471) FeedbackPanel does not work properly in clustered environment

Posted by "Juliano Viana (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-1471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Juliano Viana updated WICKET-1471:
----------------------------------

    Attachment: WebSession.patch

> FeedbackPanel does not work properly in clustered environment
> -------------------------------------------------------------
>
>                 Key: WICKET-1471
>                 URL: https://issues.apache.org/jira/browse/WICKET-1471
>             Project: Wicket
>          Issue Type: Bug
>    Affects Versions: 1.3.2
>            Reporter: Juliano Viana
>             Fix For: 1.3.4
>
>         Attachments: WebSession.patch, WicketTesterTest.patch
>
>
> Environment: Tomcat 5.5.25, Java 6, non-sticky session clustering, redirect to render strategy.
> Consider the following scenario:
> - Two tomcat instances running a Wicket application in clustered mode
> - Application contains a page that has a form and a feedback panel
> - Web browser posts the form. The post is processed in cluster node A
> - Application in cluster node A validates the form and produces some feedback messages
> - Request ends, Wicket -->clears all component feedback messages from the session<-- , replicates the session, and issues a redirect to render the page
> - Browser follows the redirect and hits the application in node B
> - Application in node B renders the page but, because there are no feedback messages on the session , the feedback panel is not made visible
> The solution I found (don't know if its the best one) is to change WebSession.java to clear component feedback messages only if the current request is not a redirect.
> This solution breaks one test case (WicketTesterTest) because it takes the broken behavior for granted. 
> I will attach a patch to WebSession and to WicketTesterTest.

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


[jira] Commented: (WICKET-1471) FeedbackPanel does not work properly in clustered environment

Posted by "Johan Compagner (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-1471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12584292#action_12584292 ] 

Johan Compagner commented on WICKET-1471:
-----------------------------------------

shouldnt the if be just this:

if (!(Application.get().getRequestCycleSettings().getRenderStrategy() == IRequestCycleSettings.REDIRECT_TO_RENDER && RequestCycle.get()
			.isRedirect()) ||
			((WebRequest)RequestCycle.get().getRequest()).isAjax())

the messages should be cleared when it is an ajax request (always)
and when it is not a redirect in a redirect_to_render strategy.



> FeedbackPanel does not work properly in clustered environment
> -------------------------------------------------------------
>
>                 Key: WICKET-1471
>                 URL: https://issues.apache.org/jira/browse/WICKET-1471
>             Project: Wicket
>          Issue Type: Bug
>    Affects Versions: 1.3.2
>            Reporter: Juliano Viana
>             Fix For: 1.3.3
>
>         Attachments: WebSession.patch, WicketTesterTest.patch
>
>
> Environment: Tomcat 5.5.25, Java 6, non-sticky session clustering, redirect to render strategy.
> Consider the following scenario:
> - Two tomcat instances running a Wicket application in clustered mode
> - Application contains a page that has a form and a feedback panel
> - Web browser posts the form. The post is processed in cluster node A
> - Application in cluster node A validates the form and produces some feedback messages
> - Request ends, Wicket -->clears all component feedback messages from the session<-- , replicates the session, and issues a redirect to render the page
> - Browser follows the redirect and hits the application in node B
> - Application in node B renders the page but, because there are no feedback messages on the session , the feedback panel is not made visible
> The solution I found (don't know if its the best one) is to change WebSession.java to clear component feedback messages only if the current request is not a redirect.
> This solution breaks one test case (WicketTesterTest) because it takes the broken behavior for granted. 
> I will attach a patch to WebSession and to WicketTesterTest.

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


[jira] Commented: (WICKET-1471) FeedbackPanel does not work properly in clustered environment

Posted by "Johan Compagner (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-1471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12584517#action_12584517 ] 

Johan Compagner commented on WICKET-1471:
-----------------------------------------

it is exactly that line.
the patch you do is exactly that. 
And it think the if above it is just that. It should only clear when a rendering did happens onces for those components.

And i guess that is when it is an ajax request or if it Not redirect to render with a redirect (so it is a one pass render or render to buffer)

> FeedbackPanel does not work properly in clustered environment
> -------------------------------------------------------------
>
>                 Key: WICKET-1471
>                 URL: https://issues.apache.org/jira/browse/WICKET-1471
>             Project: Wicket
>          Issue Type: Bug
>    Affects Versions: 1.3.2
>            Reporter: Juliano Viana
>             Fix For: 1.3.3
>
>         Attachments: WebSession.patch, WicketTesterTest.patch
>
>
> Environment: Tomcat 5.5.25, Java 6, non-sticky session clustering, redirect to render strategy.
> Consider the following scenario:
> - Two tomcat instances running a Wicket application in clustered mode
> - Application contains a page that has a form and a feedback panel
> - Web browser posts the form. The post is processed in cluster node A
> - Application in cluster node A validates the form and produces some feedback messages
> - Request ends, Wicket -->clears all component feedback messages from the session<-- , replicates the session, and issues a redirect to render the page
> - Browser follows the redirect and hits the application in node B
> - Application in node B renders the page but, because there are no feedback messages on the session , the feedback panel is not made visible
> The solution I found (don't know if its the best one) is to change WebSession.java to clear component feedback messages only if the current request is not a redirect.
> This solution breaks one test case (WicketTesterTest) because it takes the broken behavior for granted. 
> I will attach a patch to WebSession and to WicketTesterTest.

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


[jira] Resolved: (WICKET-1471) FeedbackPanel does not work properly in clustered environment

Posted by "Matej Knopp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-1471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matej Knopp resolved WICKET-1471.
---------------------------------

    Resolution: Won't Fix

If you use Wicket on cluster with REDIRECT_TO_BUFFER you should always be using sticky sessions.

> FeedbackPanel does not work properly in clustered environment
> -------------------------------------------------------------
>
>                 Key: WICKET-1471
>                 URL: https://issues.apache.org/jira/browse/WICKET-1471
>             Project: Wicket
>          Issue Type: Bug
>    Affects Versions: 1.3.2
>            Reporter: Juliano Viana
>             Fix For: 1.3.5
>
>         Attachments: WebSession.patch, WicketTesterTest.patch
>
>
> Environment: Tomcat 5.5.25, Java 6, non-sticky session clustering, redirect to render strategy.
> Consider the following scenario:
> - Two tomcat instances running a Wicket application in clustered mode
> - Application contains a page that has a form and a feedback panel
> - Web browser posts the form. The post is processed in cluster node A
> - Application in cluster node A validates the form and produces some feedback messages
> - Request ends, Wicket -->clears all component feedback messages from the session<-- , replicates the session, and issues a redirect to render the page
> - Browser follows the redirect and hits the application in node B
> - Application in node B renders the page but, because there are no feedback messages on the session , the feedback panel is not made visible
> The solution I found (don't know if its the best one) is to change WebSession.java to clear component feedback messages only if the current request is not a redirect.
> This solution breaks one test case (WicketTesterTest) because it takes the broken behavior for granted. 
> I will attach a patch to WebSession and to WicketTesterTest.

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


[jira] Updated: (WICKET-1471) FeedbackPanel does not work properly in clustered environment

Posted by "Juliano Viana (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-1471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Juliano Viana updated WICKET-1471:
----------------------------------

    Attachment: WebSession.patch

> FeedbackPanel does not work properly in clustered environment
> -------------------------------------------------------------
>
>                 Key: WICKET-1471
>                 URL: https://issues.apache.org/jira/browse/WICKET-1471
>             Project: Wicket
>          Issue Type: Bug
>    Affects Versions: 1.3.2
>            Reporter: Juliano Viana
>             Fix For: 1.3.3
>
>         Attachments: WebSession.patch
>
>
> Environment: Tomcat 5.5.25, Java 6, non-sticky session clustering, redirect to render strategy.
> Consider the following scenario:
> - Two tomcat instances running a Wicket application in clustered mode
> - Application contains a page that has a form and a feedback panel
> - Web browser posts the form. The post is processed in cluster node A
> - Application in cluster node A validates the form and produces some feedback messages
> - Request ends, Wicket -->clears all component feedback messages from the session<-- , replicates the session, and issues a redirect to render the page
> - Browser follows the redirect and hits the application in node B
> - Application in node B renders the page but, because there are no feedback messages on the session , the feedback panel is not made visible
> The solution I found (don't know if its the best one) is to change WebSession.java to clear component feedback messages only if the current request is not a redirect.
> This solution breaks one test case (WicketTesterTest) because it takes the broken behavior for granted. 
> I will attach a patch to WebSession and to WicketTesterTest.

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


[jira] Commented: (WICKET-1471) FeedbackPanel does not work properly in clustered environment

Posted by "Juliano Viana (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-1471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12593419#action_12593419 ] 

Juliano Viana commented on WICKET-1471:
---------------------------------------

Hi,

I'm beginning to realize that my original interpretation of the bug is wrong.
First of all the app is not using redirect to render strategy, its using redirect to buffer strategy.
So the original problem should not have happened in the first place.
The reason why it did happen is completely different than I thought: in redirect to buffer, the buffered response is kept in a HashMap in the WebApplication class (bufferedResponses), and this is not clustered at all.
So when the second request hits the other cluster server, the other server has no choice but to re-render the page again. And that means the application is behaving as a REDIRECT_TO_RENDER application but with REDIRECT_TO_BUFFER settings. This in turn causes the feedback messages to be cleared too soon.
So my patch is just a workaround (and it introduces some subtle bugs). I suggest this issue be closed and replaced with an issue to fix the redirect to buffer strategy in a clustered environment.

 - Juliano



> FeedbackPanel does not work properly in clustered environment
> -------------------------------------------------------------
>
>                 Key: WICKET-1471
>                 URL: https://issues.apache.org/jira/browse/WICKET-1471
>             Project: Wicket
>          Issue Type: Bug
>    Affects Versions: 1.3.2
>            Reporter: Juliano Viana
>             Fix For: 1.3.4
>
>         Attachments: WebSession.patch, WicketTesterTest.patch
>
>
> Environment: Tomcat 5.5.25, Java 6, non-sticky session clustering, redirect to render strategy.
> Consider the following scenario:
> - Two tomcat instances running a Wicket application in clustered mode
> - Application contains a page that has a form and a feedback panel
> - Web browser posts the form. The post is processed in cluster node A
> - Application in cluster node A validates the form and produces some feedback messages
> - Request ends, Wicket -->clears all component feedback messages from the session<-- , replicates the session, and issues a redirect to render the page
> - Browser follows the redirect and hits the application in node B
> - Application in node B renders the page but, because there are no feedback messages on the session , the feedback panel is not made visible
> The solution I found (don't know if its the best one) is to change WebSession.java to clear component feedback messages only if the current request is not a redirect.
> This solution breaks one test case (WicketTesterTest) because it takes the broken behavior for granted. 
> I will attach a patch to WebSession and to WicketTesterTest.

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


[jira] Commented: (WICKET-1471) FeedbackPanel does not work properly in clustered environment

Posted by "Johan Compagner (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-1471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12584286#action_12584286 ] 

Johan Compagner commented on WICKET-1471:
-----------------------------------------

hmm is the big if there:

if (Application.get().getRequestCycleSettings().getRenderStrategy() != IRequestCycleSettings.REDIRECT_TO_RENDER ||
				((WebRequest)RequestCycle.get().getRequest()).isAjax() ||
				(!RequestCycle.get().isRedirect()))

not trying to do what you are fixing?

I think we mean && instead of  || somehow there.



> FeedbackPanel does not work properly in clustered environment
> -------------------------------------------------------------
>
>                 Key: WICKET-1471
>                 URL: https://issues.apache.org/jira/browse/WICKET-1471
>             Project: Wicket
>          Issue Type: Bug
>    Affects Versions: 1.3.2
>            Reporter: Juliano Viana
>             Fix For: 1.3.3
>
>         Attachments: WebSession.patch, WicketTesterTest.patch
>
>
> Environment: Tomcat 5.5.25, Java 6, non-sticky session clustering, redirect to render strategy.
> Consider the following scenario:
> - Two tomcat instances running a Wicket application in clustered mode
> - Application contains a page that has a form and a feedback panel
> - Web browser posts the form. The post is processed in cluster node A
> - Application in cluster node A validates the form and produces some feedback messages
> - Request ends, Wicket -->clears all component feedback messages from the session<-- , replicates the session, and issues a redirect to render the page
> - Browser follows the redirect and hits the application in node B
> - Application in node B renders the page but, because there are no feedback messages on the session , the feedback panel is not made visible
> The solution I found (don't know if its the best one) is to change WebSession.java to clear component feedback messages only if the current request is not a redirect.
> This solution breaks one test case (WicketTesterTest) because it takes the broken behavior for granted. 
> I will attach a patch to WebSession and to WicketTesterTest.

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


[jira] Updated: (WICKET-1471) FeedbackPanel does not work properly in clustered environment

Posted by "Juliano Viana (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-1471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Juliano Viana updated WICKET-1471:
----------------------------------

    Attachment: WicketTesterTest.patch

> FeedbackPanel does not work properly in clustered environment
> -------------------------------------------------------------
>
>                 Key: WICKET-1471
>                 URL: https://issues.apache.org/jira/browse/WICKET-1471
>             Project: Wicket
>          Issue Type: Bug
>    Affects Versions: 1.3.2
>            Reporter: Juliano Viana
>             Fix For: 1.3.3
>
>         Attachments: WebSession.patch, WicketTesterTest.patch
>
>
> Environment: Tomcat 5.5.25, Java 6, non-sticky session clustering, redirect to render strategy.
> Consider the following scenario:
> - Two tomcat instances running a Wicket application in clustered mode
> - Application contains a page that has a form and a feedback panel
> - Web browser posts the form. The post is processed in cluster node A
> - Application in cluster node A validates the form and produces some feedback messages
> - Request ends, Wicket -->clears all component feedback messages from the session<-- , replicates the session, and issues a redirect to render the page
> - Browser follows the redirect and hits the application in node B
> - Application in node B renders the page but, because there are no feedback messages on the session , the feedback panel is not made visible
> The solution I found (don't know if its the best one) is to change WebSession.java to clear component feedback messages only if the current request is not a redirect.
> This solution breaks one test case (WicketTesterTest) because it takes the broken behavior for granted. 
> I will attach a patch to WebSession and to WicketTesterTest.

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


[jira] Updated: (WICKET-1471) FeedbackPanel does not work properly in clustered environment

Posted by "Martijn Dashorst (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-1471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martijn Dashorst updated WICKET-1471:
-------------------------------------

    Fix Version/s:     (was: 1.3.4)
                   1.3.5

> FeedbackPanel does not work properly in clustered environment
> -------------------------------------------------------------
>
>                 Key: WICKET-1471
>                 URL: https://issues.apache.org/jira/browse/WICKET-1471
>             Project: Wicket
>          Issue Type: Bug
>    Affects Versions: 1.3.2
>            Reporter: Juliano Viana
>             Fix For: 1.3.5
>
>         Attachments: WebSession.patch, WicketTesterTest.patch
>
>
> Environment: Tomcat 5.5.25, Java 6, non-sticky session clustering, redirect to render strategy.
> Consider the following scenario:
> - Two tomcat instances running a Wicket application in clustered mode
> - Application contains a page that has a form and a feedback panel
> - Web browser posts the form. The post is processed in cluster node A
> - Application in cluster node A validates the form and produces some feedback messages
> - Request ends, Wicket -->clears all component feedback messages from the session<-- , replicates the session, and issues a redirect to render the page
> - Browser follows the redirect and hits the application in node B
> - Application in node B renders the page but, because there are no feedback messages on the session , the feedback panel is not made visible
> The solution I found (don't know if its the best one) is to change WebSession.java to clear component feedback messages only if the current request is not a redirect.
> This solution breaks one test case (WicketTesterTest) because it takes the broken behavior for granted. 
> I will attach a patch to WebSession and to WicketTesterTest.

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


[jira] Commented: (WICKET-1471) FeedbackPanel does not work properly in clustered environment

Posted by "Juliano Viana (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-1471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12584512#action_12584512 ] 

Juliano Viana commented on WICKET-1471:
---------------------------------------

Hi,

The problem as I see it is with the line:
getFeedbackMessages().clear(WebSession.MESSAGES_FOR_COMPONENTS);


This line does not depend upon the above if statement- maybe it should be included on it ? I don't know what is the precise difference between session scoped messages and component messages, but clearing component messages on a redirect request is the cause of the problem.

> FeedbackPanel does not work properly in clustered environment
> -------------------------------------------------------------
>
>                 Key: WICKET-1471
>                 URL: https://issues.apache.org/jira/browse/WICKET-1471
>             Project: Wicket
>          Issue Type: Bug
>    Affects Versions: 1.3.2
>            Reporter: Juliano Viana
>             Fix For: 1.3.3
>
>         Attachments: WebSession.patch, WicketTesterTest.patch
>
>
> Environment: Tomcat 5.5.25, Java 6, non-sticky session clustering, redirect to render strategy.
> Consider the following scenario:
> - Two tomcat instances running a Wicket application in clustered mode
> - Application contains a page that has a form and a feedback panel
> - Web browser posts the form. The post is processed in cluster node A
> - Application in cluster node A validates the form and produces some feedback messages
> - Request ends, Wicket -->clears all component feedback messages from the session<-- , replicates the session, and issues a redirect to render the page
> - Browser follows the redirect and hits the application in node B
> - Application in node B renders the page but, because there are no feedback messages on the session , the feedback panel is not made visible
> The solution I found (don't know if its the best one) is to change WebSession.java to clear component feedback messages only if the current request is not a redirect.
> This solution breaks one test case (WicketTesterTest) because it takes the broken behavior for granted. 
> I will attach a patch to WebSession and to WicketTesterTest.

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


[jira] Updated: (WICKET-1471) FeedbackPanel does not work properly in clustered environment

Posted by "Frank Bille Jensen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-1471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Frank Bille Jensen updated WICKET-1471:
---------------------------------------

    Fix Version/s:     (was: 1.3.3)
                   1.3.4

> FeedbackPanel does not work properly in clustered environment
> -------------------------------------------------------------
>
>                 Key: WICKET-1471
>                 URL: https://issues.apache.org/jira/browse/WICKET-1471
>             Project: Wicket
>          Issue Type: Bug
>    Affects Versions: 1.3.2
>            Reporter: Juliano Viana
>             Fix For: 1.3.4
>
>         Attachments: WebSession.patch, WicketTesterTest.patch
>
>
> Environment: Tomcat 5.5.25, Java 6, non-sticky session clustering, redirect to render strategy.
> Consider the following scenario:
> - Two tomcat instances running a Wicket application in clustered mode
> - Application contains a page that has a form and a feedback panel
> - Web browser posts the form. The post is processed in cluster node A
> - Application in cluster node A validates the form and produces some feedback messages
> - Request ends, Wicket -->clears all component feedback messages from the session<-- , replicates the session, and issues a redirect to render the page
> - Browser follows the redirect and hits the application in node B
> - Application in node B renders the page but, because there are no feedback messages on the session , the feedback panel is not made visible
> The solution I found (don't know if its the best one) is to change WebSession.java to clear component feedback messages only if the current request is not a redirect.
> This solution breaks one test case (WicketTesterTest) because it takes the broken behavior for granted. 
> I will attach a patch to WebSession and to WicketTesterTest.

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


[jira] Updated: (WICKET-1471) FeedbackPanel does not work properly in clustered environment

Posted by "Juliano Viana (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-1471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Juliano Viana updated WICKET-1471:
----------------------------------

    Attachment:     (was: WebSession.patch)

> FeedbackPanel does not work properly in clustered environment
> -------------------------------------------------------------
>
>                 Key: WICKET-1471
>                 URL: https://issues.apache.org/jira/browse/WICKET-1471
>             Project: Wicket
>          Issue Type: Bug
>    Affects Versions: 1.3.2
>            Reporter: Juliano Viana
>             Fix For: 1.3.4
>
>         Attachments: WicketTesterTest.patch
>
>
> Environment: Tomcat 5.5.25, Java 6, non-sticky session clustering, redirect to render strategy.
> Consider the following scenario:
> - Two tomcat instances running a Wicket application in clustered mode
> - Application contains a page that has a form and a feedback panel
> - Web browser posts the form. The post is processed in cluster node A
> - Application in cluster node A validates the form and produces some feedback messages
> - Request ends, Wicket -->clears all component feedback messages from the session<-- , replicates the session, and issues a redirect to render the page
> - Browser follows the redirect and hits the application in node B
> - Application in node B renders the page but, because there are no feedback messages on the session , the feedback panel is not made visible
> The solution I found (don't know if its the best one) is to change WebSession.java to clear component feedback messages only if the current request is not a redirect.
> This solution breaks one test case (WicketTesterTest) because it takes the broken behavior for granted. 
> I will attach a patch to WebSession and to WicketTesterTest.

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