hlship      2005/07/21 12:17:40

  Modified:    .        status.xml
               framework/src/java/org/apache/tapestry/engine
                        RestartService.java
               framework/src/test/org/apache/tapestry/engine
                        TestRestartService.java
  Log:
  TAPESTRY-424: RestartService creates HttpSession wrongfully
  
  Revision  Changes    Path
  1.169     +1 -0      jakarta-tapestry/status.xml
  
  Index: status.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/status.xml,v
  retrieving revision 1.168
  retrieving revision 1.169
  diff -u -r1.168 -r1.169
  --- status.xml        21 Jul 2005 15:43:35 -0000      1.168
  +++ status.xml        21 Jul 2005 19:17:34 -0000      1.169
  @@ -62,6 +62,7 @@
         <action type="fix" dev="HLS" fixes-bug="TAPESTRY-383, 
TAPESTRY-224">Properly position cursor into form fields</action>
         <action type="fix" dev="HLS" due-to="Kent Tong" 
fixes-bug="TAPESTRY-406">Bean Property does not get updated from component 
parameter</action>
         <action type="fix" dev="HLS" due-to="Laurent Etiemble" 
fixes-bug="TAPESTRY-425">Foreach components cannot handle primitive 
arrays</action>
  +      <action type="fix" dev="HLS" due-to="Fernando" 
fixes-bug="TAPESTRY-424">RestartService creates HttpSession wrongfully</action>
       </release>
       <release version="4.0-beta-2" date="Jul 9 2005">
         <action type="fix" dev="HLS" fixes-bug="TAPESTRY-356">FormConditional 
extends BaseComponent but has no template</action>
  
  
  
  1.14      +1 -1      
jakarta-tapestry/framework/src/java/org/apache/tapestry/engine/RestartService.java
  
  Index: RestartService.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tapestry/framework/src/java/org/apache/tapestry/engine/RestartService.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- RestartService.java       11 May 2005 06:10:40 -0000      1.13
  +++ RestartService.java       21 Jul 2005 19:17:39 -0000      1.14
  @@ -72,7 +72,7 @@
   
       public void service(IRequestCycle cycle) throws IOException
       {
  -        HttpSession session = _request.getSession();
  +        HttpSession session = _request.getSession(false);
   
           if (session != null)
           {
  
  
  
  1.7       +3 -3      
jakarta-tapestry/framework/src/test/org/apache/tapestry/engine/TestRestartService.java
  
  Index: TestRestartService.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tapestry/framework/src/test/org/apache/tapestry/engine/TestRestartService.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- TestRestartService.java   12 May 2005 18:56:26 -0000      1.6
  +++ TestRestartService.java   21 Jul 2005 19:17:40 -0000      1.7
  @@ -47,7 +47,7 @@
   
           // Training
   
  -        request.getSession();
  +        request.getSession(false);
           requestControl.setReturnValue(null);
   
           cycle.getAbsoluteURL("/app");
  @@ -88,7 +88,7 @@
   
           // Training
   
  -        request.getSession();
  +        request.getSession(false);
           requestControl.setReturnValue(session);
   
           session.invalidate();
  @@ -136,7 +136,7 @@
   
           // Training
   
  -        request.getSession();
  +        request.getSession(false);
           requestControl.setReturnValue(session);
   
           session.invalidate();
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to