I'm not sure, I haven't had a case where I've been able to test that.

On Tue, Oct 7, 2014 at 4:58 PM, Lance Java <lance.j...@googlemail.com>
wrote:

> Sounds like a bug to me. Does the same happen for a <t:pagelink />?
>  On 7 Oct 2014 17:44, "George Christman" <gchrist...@cardaddy.com> wrote:
>
> > Does anybody know if this is a bug or proper behavior?
> >
> > On Sat, Oct 4, 2014 at 8:55 PM, George Christman <
> gchrist...@cardaddy.com>
> > wrote:
> >
> > > Hi guys, I think I found a bug in 5.4.
> > >
> > > I have the following page, Vehicle.class and within it a Request
> > Parameter
> > > called "key"
> > >
> > > public class Vehicle.class  {
> > >
> > > @ActivationRequestParameter(value = "_key")
> > >     private String activationKey;
> > >
> > > }
> > >
> > > I also have an email service which is called by a method within
> > > Vehicle.class that generates a confirmation email to the user. It looks
> > > like this.
> > >
> > > public void sendPurchaseReceiptEmail(VehicleListing vehicleListing) {
> > >         Link link =
> > > linkSource.createPageRenderLinkWithContext(ForSaleIndex.class,
> > > Util.getGenerateListingContextID(vehicleListing));
> > > System.out.println("sendPurchaseReceiptEmail " + emailMessage);
> > > }
> > >
> > > What I'm finding is when I generate a confirmation email with a link
> back
> > > to the same page that has a request parameter in the URL, it is
> > > automatically adding that request parameter to my link even though it's
> > not
> > > being added to the link with .addParameter()
> > >
> > > Is this proper behavior? Should I be forced to remove the parameter
> > > manually even though I'm generating a new link?
> > >
> > > --
> > > George Christman
> > > www.CarDaddy.com
> > > P.O. Box 735
> > > Johnstown, New York
> > >
> > >
> >
> >
> > --
> > George Christman
> > www.CarDaddy.com
> > P.O. Box 735
> > Johnstown, New York
> >
>



-- 
George Christman
www.CarDaddy.com
P.O. Box 735
Johnstown, New York

Reply via email to