Download & Extend

media_mover_api_queue_file_process_worker missing configuration data

Project:Media Mover
Version:6.x-2.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:civicpixel
Status:needs review

Issue Summary

At the moment, media_mover_api_queue_file_process_worker is attempting to run a configuration off of the file object, which doesn't seem to contain the necessary configuration data, included patch offers one possible solution by loading the configuration. This also removes the $file->step_order++, as this was causing problems with the step order in the latest version. May have been unnecessary in the first place due to http://drupal.org/node/915230

Comments

#1

forgot to attach the patch.

AttachmentSize
file_worker_load_config.patch 937 bytes

#2

Status:active» needs review

#3

It is likely that in one of the previous refactors steps were not getting stored correctly on files - this might have been the reason for this queue worker not working, but otherwise, I'm fine to switch over to your patch- it's essentially the same thing.

#4

The configuration data was being passed in okay. However, process_next was calling the wrong step. AFAICT the step_order should not be advanced before calling run. This was causing every other step to be skipped.

Commit is here: http://drupalcode.org/project/media_mover.git/commit/a97ba79

nobody click here