Download & Extend

Use Batch API to better process 100s-1000s of files.

Project:Imagefield Import
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Hi,

The Batch API provides a fantastic alternative to turning off the PHP timeout, and provides a nice status bar.

Implemented in the attached patch.

Cheers,
Deciphered.

AttachmentSize
imagefield_import-DRUPAL-6--1-Batch_API-1.patch4.58 KB

Comments

#1

Title:Use Batch API to better upload 100s-1000s of files.» Use Batch API to better process 100s-1000s of files.

Fixed an issue, wasn't retaining $title, $caption or $taxonomy values.

AttachmentSize
imagefield_import-DRUPAL-6--1-438774-Batch_API-2.patch 4.59 KB

#2

Thanks Loads for the patch. Batch API was in the plans-- Just never got around to it.

Gave the patch the once over and the nodes that get imported appear to be identical both before and after I applied the patch- Things look good.

I hoping for another set of eyes before I apply this.

Thanks.

#3

Version:6.x-1.4-beta1» 6.x-1.x-dev
Status:needs review» fixed

Support for the Batch API is in the latest dev. version.

#4

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.