Problem/Motivation
If "Process in a batch operation" is not selected, then export VBO actions are not working correctly. The file is being generated, but the rows are not available. Additionally, there are a couple of PHP notices:
Notice: Undefined index: processed in Drupal\vbo_export\Plugin\Action\VboExportBase->executeMultiple() (line 249 of /var/www/docroot/modules/contrib/vbo_export/src/Plugin/Action/VboExportBase.php)
Notice: Undefined index: current_batch in Drupal\vbo_export\Plugin\Action\VboExportBase->getCid() (line 346 of /var/www/docroot/modules/contrib/vbo_export/src/Plugin/Action/VboExportBase.php)
Steps to reproduce
Try one of "Generate from ..." actions with unselected "Process in a batch operation" checkbox.
Proposed resolution
Define more default properties in the sandbox array to be truly compatible with Batch API.
Remaining tasks
1. Review
2. Commit
There are no User interface, API, and Data model change changes.
Issue fork views_bulk_operations-3338246
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
matroskeenThe fix is available in the merge request. I'll leave it as Needs Work for the tests
Comment #6
graber commentedMakes sense, thank you!