-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
magento/magento2#4389 Widget cache error #12764
Conversation
- fixed CacheKey assignment
Thank you for this pull request @AlexandrKozyr I am just wondering if there was any particular reason you went for the template and title rather than using the widget id for the cache key? |
Hi @AlexandrKozyr |
Hi @dmanners. thank u for ur review and remark. I have double checked case and possibility to use id for the widget and found out that there is no separate identity created in the persistent layer with. there are 4 params that creates widgets inside cms block -
but for some reasons title and template are not inside cahce key. my fix add them as th last possible params for uqiness identification of cache file. |
Hi @AlexandrKozyr. Thank you for your contribution. |
Magento 2.2.5 have same problem with widget cache error. same widget showing twice. |
Hi @abhaykhatariya, |
@ihor-sviziev Where is the patch ? can you please send me link for that patch |
@abhaykhatariya You can use https://github.com/cweagans/composer-patches or https://github.com/vaimo/composer-patches for applyting patch. In case of this PR you can use following URL as a patch: https://github.com/magento/magento2/pull/12764.patch |
Description
Fixed Issues (if relevant)
Manual testing scenarios
Contribution checklist