As follow up to #1342126: Batched rules: Using batch API to evaluate rulesets, where I allready posted a patch for this functionality:

The patch provides a simple Loop plugin, to batch process each loop item.
This was very useful to me for bulk updating nodes in combination with the patch in #1367324: How to: Load a Entity ID list with Views.

Patch will be served in comment 1.

Comments

derhasi’s picture

Status: Active » Needs review
StatusFileSize
new5.01 KB

I updated the patch from the above name issue, to fit in the new rb_batch module, but it needs #1367328: RB Batch does not load configurations applied first.

Patch attached.

derhasi’s picture

StatusFileSize
new3.26 KB

Oh, damn, the first was combined with #1367328: RB Batch does not load configurations, sorry.

This patch is a patch building up on #1367328: RB Batch does not load configurations.

patrickd’s picture

Status: Needs review » Needs work

This is cool!

Please adjust your patch to #1367328 first.
It would also be great if you add a few lines about this to the README.txt file.

Thank you!

derhasi’s picture

Status: Needs work » Needs review
StatusFileSize
new4.37 KB

So, there it is, adjusted to the current dev and wrote some lines to the README.

btw: patrickd, there's a Component "Rules Bonus: Batch" missing ;)

patrickd’s picture

As long as the rules issues #1341344: Improve hook_rules_plugin_info documentation for 'extenders' property and #1285856: FacesExtendableException : There is no method dependencies for this instance of the class RulesAction are not resolved, the batched rule set wont work anyway. :/
I'm not able to test your component at the moment, so I hope someone else can do this soon

mitchell’s picture

Title: rb_batch: RulesBatchLoop - batch processing for loops » Loops: batch processing
Project: Rules Bonus Pack » Rules
Version: 7.x-1.x-dev » 7.x-2.x-dev
Component: Miscellaneous » Rules Core
Status: Needs review » Patch (to be ported)
Issue tags: +lists and loops

Where do the issues in #5 stand?

dwkitchen’s picture

Status: Patch (to be ported) » Needs review

Just discovered this issue, I created a module to do just this.

Here it is: http://drupal.org/project/rules_batch

The last submitted patch, rb_batch_loop-1367332-4.patch, failed testing.