Developer forum

Forum » CMS - Standard features » RE: 8.5 url interpretation

RE: 8.5 url interpretation

Peter Munkholm
Reply

This error arose after upgrading to 8.5.

I have this code in a javascript:

 

'<a id="basketlink" href="Default.aspx?ID=<!--@Ecom:VariantCombination.Page.ID-->&amp;' +
'ProductID=<!--@Ecom:VariantCombination.Product.ID-->&amp;' +
'variantid=<!--@Ecom:VariantCombination.VariantID-->' +
'&amp;cartcmd=add">' +
'Læg i kurven</a>';

This gets translated into: http://www.gottfred.dk/da-dk/shop/back-up-vikar-webshop/benklaeder.aspxProductID=PROD10905&variantid=VO33&cartcmd=add&EcomOrderLineFieldInput_tryk=undefined&quantity=1

Chaching the code into this, fixes the problem. But honestly, it shouldn't be that way.

'<a id="basketlink" href="Default.aspx?ID=<!--@Ecom:VariantCombination.Page.ID-->&amp;' +
'?ProductID=<!--@Ecom:VariantCombination.Product.ID-->&amp;' +
'variantid=<!--@Ecom:VariantCombination.VariantID-->' +
'&amp;cartcmd=add">' +
'Læg i kurven</a>';

Replies

 
Peter Munkholm
Reply

FYI: The problem seems to only happen i standard html templates.

 
Nicolai Høeg Pedersen
Reply

Hi Peter

It seems to be the fix of TFS#14803 fixed in 8.4.1.2. Sorry this has caused changed behavior and a link not working.

Will look into if the bug should be rolled back, the bug on the change will be fixed or the behavior will be like this from now.

Nicolai

 

You must be logged in to post in the forum