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

mass actions #3

Open
airbone42 opened this issue Sep 8, 2013 · 3 comments
Open

mass actions #3

airbone42 opened this issue Sep 8, 2013 · 3 comments
Labels

Comments

@airbone42
Copy link
Member

check how to deal with mass actions and importers.

is model save called?

@avstudnitz
Copy link
Member

It's not. Mass Action uses Mage_Catalog_Model_Resource_Product_Action::updateAttributes, ImportExport uses it's own resource model as well. Perhaps you can jump into indexer processing as those are called in all (useful) cases.

@airbone42
Copy link
Member Author

Mage_Catalog_Model_Resource_Product_Action::updateAttributes doesn't throw any events, where we could hook into, but indexer processing is only called if it's not set to manual, which is the case on a lot of stores which are deployed to prevent heavy database operation during business hours. :(
So to really track the changes we would have to rewrite Mage_Catalog_Model_Resource_Product_Action and maybe even other resource models, like you mentioned for ImportExport.

Anyway we wanted to add a logging for triggering index and cache changes, but that would only show that something might have happened, not really what changed.

@Schrank
Copy link
Member

Schrank commented Sep 10, 2013

we can log the indexing, when we hook into the predispatch event, and just log the $_POST content.

If you ask me, we are not interessted in changes in indexes and caches...

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

No branches or pull requests

3 participants