You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by Johnny Cass <jo...@epiuse.com> on 2001/10/15 17:27:47 UTC
[Patch] TemplateSecureSessionValidator
Hi,
I think I might have found a bug in TemplateSecureSessionValidator.java.
My understanding is that the current template should be saved to the
user's temporary storage as 'prev_template' *before* the screen template
is changed to the one defined in TR.p.
I would really appreciate it if somebody could take a look at this.
Thanks.
- Johnny
Re: [Patch] TemplateSecureSessionValidator
Posted by John McNally <jm...@collab.net>.
patch applied, thanks
john mcnally
Johnny Cass wrote:
>
> Hi,
>
> I think I might have found a bug in TemplateSecureSessionValidator.java.
> My understanding is that the current template should be saved to the
> user's temporary storage as 'prev_template' *before* the screen template
> is changed to the one defined in TR.p.
>
> I would really appreciate it if somebody could take a look at this.
>
> Thanks.
> - Johnny
>
> ------------------------------------------------------------------------
> Index: TemplateSecureSessionValidator.java
> ===================================================================
> RCS file: /home/cvspublic/jakarta-turbine-2/src/java/org/apache/turbine/modules/actions/sessionvalidator/TemplateSecureSessionValidator.java,v
> retrieving revision 1.1.1.1
> diff -r1.1.1.1 TemplateSecureSessionValidator.java
> 167a168,169
> > data.getUser().setTemp( "prev_template",
> > data.getTemplateInfo().getScreenTemplate() );
> 171,173d172
> <
> < data.getUser().setTemp( "prev_template",
> < data.getTemplateInfo().getScreenTemplate() );
>
> ------------------------------------------------------------------------
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-dev-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org