* [EMAIL PROTECTED]:
> Author: knopp
> Date: Thu Apr 19 16:44:42 2007
> New Revision: 530589
> 
> URL: http://svn.apache.org/viewvc?view=rev&rev=530589
> Log:
> Fixed test failure when running with syatem locale different than english 
> 
> Modified:
>     
> incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/protocol/http/MockWebApplication.java
>     
> incubator/wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/ComponentCreateTagTest.java
>     
> incubator/wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/ComponentCreateTag_6.java
>  
>  
> @@ -33,5 +36,7 @@
>        */
>       public ComponentCreateTag_6() 
>       {
> +             // bit of a hack, but before the instance is created we don't 
> have access to this request's session
> +             Session.get().setLocale(Locale.ENGLISH);
>      }
>  }

Hi Matej,

Is that WICKET-474?

It's a pity that we have to do a hack, since we were supposed to
be able to override the newSession() since Jonathan refactored the
code.
-- 
     Jean-Baptiste Quenot
aka  John Banana   Qwerty
http://caraldi.com/jbq/

Reply via email to