Projekt

Allgemein

Profil

GX-Bug #67975

Von Marvin Muxfeld vor mehr als 3 Jahren aktualisiert

If Wenn ein Theme aus einer alten Shopversion oder einem älteren geupdateten Shop exportiert und in einem Shop mit einer anderen Domain importiert wird, geht die Session bei Aktionen, wie dem Hinzufügen zum Warenkorb, verloren. 

 The reason is, that in old shop versions the url of image paths were saved as absoulute paths. That behaviour was changed in a shop changes because of a change in newer version, but the dns entry already existing content zone entries were not updated. The reason why the absolute urls stored in session gets lost is, because after adding something to the settings.json shopping cart and contentzone json files returning to a page where those external images are loaded causes problems mainly with safari users. the session to end. 

 How This was reproducable on Firefox and Safari on Mac. 

 Steps to reproduce:  

 1. Launch StyleEdit 4 
 2. Style your - install a shop with the version 4.0.0.* 
 - open the SE4 
 - add an image widget to any content zone and assign background images choose an image 
 - save the settings 
 - export the theme 
 - install a shop with the newest version on a different domain 
 - open the SE4 
 - import the exported theme 
 - close the SE4 
 - add a product to multiple elements the cart and open the cart 
 3. Check - open the generated settings.json & contentzones/*.json files page with the image widget, that you added in the exported theme 
 - open the cart again 

 Expected behavior: relative paths are used so that it can be used for any domain the shop result: 
 The item is used still in the cart. 

 Actual behavior: absolute paths causing session losses on safari after moving to a different url behaviour: 
 The item is not in the cart anymore.

Zurück