Change record status: 
Project: 
Introduced in branch: 
8.x-3.x
Introduced in version: 
8.x-3.0-alpha7
Description: 

Imports now go through a Feeds executable class, which is responsible for:

  • Switching accounts during each stage of the import;
  • Creating batch tasks;
  • Running import tasks in the right order (begin, fetch, parse, process and clean);
  • Dispatching Feeds events.

A batch object knows on which stage an import is and which operations to run. For some stages, like the parse stage, multiple new batch tasks are created. During the parse stage a bunch of process tasks are created and one 'finish' task. For each import method (direct, batch and queue) a separate batch class exists.

FeedsImportHandler and FeedRefresh are refactored to pass the actual import tasks to the executable.

Impacts: 
Module developers