Lesti_Fpc icon indicating copy to clipboard operation
Lesti_Fpc copied to clipboard

Dynamic Block sometimes doesn't work: welcome and cart_sidebar

Open elachino opened this issue 8 years ago • 5 comments

I set welcome block how dynamic and it works in 90% of cases, but sometimes, especially on product list page with filter setted or paging, it didn't work and i found name of other customer and his cart. I use lesti with groups cache enabled and i set all filter and page params in uri_params. Magento 1.9.1.1 and last Lesti_fpc version with redis.

elachino avatar Oct 07 '16 08:10 elachino

Sorry, but I can't reproduce this behavior.

GordonLesti avatar Oct 07 '16 09:10 GordonLesti

I'll try to reproduce on my test stage and give you accesso to verify.

elachino avatar Oct 07 '16 09:10 elachino

While I can't verify this exactly, I've been dealing with a similar issue in regards to the welcome message. The reason I can't verify, is because I did move the welcome to a dynamic block, but forgot to remove it from the lazy block. I will be looking out for this issue now that it should be corrected, to see if it does keep occurring or if fixed. In general, this is very hard to replicate. It is horrible when it did happen though, because logged in customers get cycled through other people's welcome messages and panic about their account details etc.

Usually, I found this problem with the welcome message as lazy block when:

  1. Logged into admin, making changes.
  2. Logged in on test account and moving through pages
  3. At least one more person logged in, also moving through pages (in my case, this is a customer, so they may be adding items to cart etc).

The problem disappears as soon as you flush cache and re-index. Hopefully with the self-correction this will not happen anymore. I just wanted to comment, if my observations may be of any assistance in replicating any potential issue.

Thanks!

ewb-git avatar Oct 20 '16 06:10 ewb-git

I am definitely getting cycling in the welcome message, but may be due to some customization. Will try and research this a bit more!

ewb-git avatar Nov 29 '16 21:11 ewb-git

I can't speak for the OP, but in my case this was caused due to the theme. While Magento had been patched to a higher version, the theme itself was missing the welcome message update.

So it was in fact due to this post, which I thought did not apply: https://gordonlesti.com/lesti-fpc-magento-1-7-and-the-welcome-message/

Thanks Gordon! : )

ewb-git avatar Dec 11 '16 15:12 ewb-git