Skip to content
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

Module dependency #98

Closed
daniel-ifrim opened this issue Aug 26, 2017 · 1 comment
Closed

Module dependency #98

daniel-ifrim opened this issue Aug 26, 2017 · 1 comment

Comments

@daniel-ifrim
Copy link

daniel-ifrim commented Aug 26, 2017

It looks like observer 'invalidate_varnish' Fastly\Cdn\Observer\InvalidateVarnishObserver from vendor/fastly/magento2/etc/events.xml never runs.

I'm looking into app/etc/config.php and Fastly_Cdn module is before Magento_CacheInvalidate.
It means observer 'invalidate_varnish' from Magento_CacheInvalidate isn't replaced by the observer from Fastly_Cdn module Fastly\Cdn\Observer\InvalidateVarnishObserver.
More or less 'clean_cache_by_tags' doesn't work with Fastly_Cdn module.
'clean_cache_by_tags' is called by indexer and other code. One example would be when a product gets out of stock after customer purchase via checkout.

A quick look into module and I came up with these module.xml dependencies:

<sequence>
            <module name="Magento_Store"/>
            <module name="Magento_PageCache"/>
            <module name="Magento_CacheInvalidate"/>
</sequence>
@daniel-ifrim
Copy link
Author

The fix for this issue is in version 1.2.28.
Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant