Forums / Setup & design / Workflow approval not clearing smart cache

Workflow approval not clearing smart cache

Author Message

Tom Nason

Tuesday 08 December 2009 10:36:34 pm

I have 3 levels of admin user:

Contributor - can update existing pages, add images to gallery
Editor - can add pages + contributor access
Publisher - can approve changes made by contributor/editor + editor access

Smart cache is used to clear the cache for pages which contain embedded image galleries.

My problem is that clearing of the smart cache is not triggerred by the workflow cronjob. When updating gallery images using the Publisher role changes can be seen straight away. If an Editor or Contributor role is used and then the workflow cron is run the cache is not cleared and new items dont appear on the front end(they do become available in the admin interface). Manually clearing the cache causes them to appear but id really like to avoid this.

The clearObjectViewCache method in kernel/content/operation_definition.php doesnt seem to be called when using the workflow process.

Has anybody encountered this before? Is it a bug or could there be a configuration issue?

Any and all help appreciated.

Thanks