Needs review
Project:
Media Mover
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
17 Sep 2010 at 22:11 UTC
Updated:
26 May 2011 at 18:34 UTC
Jump to comment: Most recent file
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
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | file_worker_load_config.patch | 937 bytes | civicpixel |
Comments
Comment #1
civicpixel commentedforgot to attach the patch.
Comment #2
civicpixel commentedComment #3
arthurf commentedIt 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.
Comment #4
darrick commentedThe 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