in _views_bulk_operations_rules_get_field() a state views cache is used but the cache key relies on the view name only, if the same view is used with different arguments in the same results will be returned (or at random intervals the crude form of the arguments before token replacement is used!!)

patch concatenates arguments to view name, but I assume it might be possible to avoid rebuilding the view by just executing the query with the new arguments.

CommentFileSizeAuthor
vbo_rules_views_cache_fix.patch814 bytesalaa
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

bojanz’s picture

Title: caching conflict when using same view multiple times with rules » Caching conflict when using the same view with different arguments multiple times with rules
Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.