Active
Project:
Media Mover
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Dec 2008 at 23:41 UTC
Updated:
15 Dec 2008 at 18:15 UTC
Jump to comment: Most recent file
There is checking of mmf.date in function mm_node_harvest_mm_files():
$harvest_conditions = ' AND mmf.date > '. $job->last_start_time;
Problem is that file is maybe not processed to status which we want to harvest from.
For example if I want to harvest file from 'complete', and file is still processing, it will not get right file.
There should be different SQL conditions which are dependent on if harvested file is currently at status we want to harvest, so in this case if 'complete_file' is not empty and not on 'mmf.date'.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | media_mover-harvest-mm-sql.patch | 1.61 KB | anantagati |
| #2 | media_mover-harvest-mm-344996.patch | 1.61 KB | anantagati |
| #1 | media_mover-harvest-mm-344996.patch | 1.55 KB | anantagati |
Comments
Comment #1
anantagati commentedComment #2
anantagati commentedFixed query.
Comment #3
anantagati commentedNow it should be ok. :)
Comment #4
arthurf commentedThanks for the patch! Applied and committed.
Comment #5
anantagati commentedPatch was not applied completely.
Problem is in this part of query:
It should be: