Dear Dynamicweb,
We are often missing a notification subscriber which can tell us that data is imported in e.g. the Dynamicwebprovider
sqlTransaction.Commit(); // Please add a subscriber here! if (!DisableCacheClearing) { Ecommerce.Common.Application.KillAll(); AssortmentHandler?.RebuildAssortments(); } UpdateProductIndex(job); if (!DisableCacheClearing) { Ecommerce.Services.Discounts.ClearCache(); }
We need this step to be able to manipulate data before cache is cleared, assortments are rebuilt and indexes are updated.
Right now we have only the JobFinished-observer, but this is often to late in the process to make the desired data changes.
Right now we have only the JobFinished-observer, but this is often to late in the process to make the desired data changes.
Best begards, Anders