Ticket #287 (closed defect: fixed)
G2 Import bombs when the G2 is missing a source image
| Reported by: | bharat | Owned by: | bharat |
|---|---|---|---|
| Priority: | major | Milestone: | 3.0 Beta 1 |
| Version: | 3.0 Alpha 4 | Keywords: | |
| Cc: |
Description
You get a stack trace like this:
2009-05-16 23:42:39 -04:00 --- error: @todo MISSING_IMAGE_FILE in /var/www/html/newgallery/core/helpers/photo.php at line 43:
#0 /var/www/html/newgallery/modules/g2_import/helpers/g2_import.php(295): photo_Core::create(Object(Item_Model), '/var/ourgallery...', 'IMG_0373.JPG', 'IMG_0373', NULL, 3)
#1 /var/www/html/newgallery/modules/g2_import/helpers/g2_import_task.php(125): g2_import_Core::import_item(Array)
#2 [internal function]: g2_import_task_Core::import(Object(Task_Model))
#3 /var/www/html/newgallery/core/helpers/task.php(78): call_user_func_array('g2_import_task:...', Array)
#4 /var/www/html/newgallery/core/controllers/admin_maintenance.php(140): task_Core::run('1')
#5 [internal function]: Admin_Maintenance_Controller->run('1')
#6 /var/www/html/newgallery/core/controllers/admin.php(49): call_user_func_array(Array, Array)
#7 [internal function]: Admin_Controller->call('maintenance', Array)
#8 /var/www/html/newgallery/kohana/core/Kohana.php(277): ReflectionMethod?->invokeArgs(Object(Admin_Controller), Array)
#9 [internal function]: Kohana::instance()
#10 /var/www/html/newgallery/kohana/core/Event.php(209): call_user_func(Array)
#11 /var/www/html/newgallery/kohana/core/Bootstrap.php(55): Event::run('system.execute')
#12 /var/www/html/newgallery/index.php(61): require('/var/www/html/n...')
#13 {main}