Skip to content

Console command fails to execute all feeds if data is empty #1716

@jmauzyk

Description

@jmauzyk

Description

Noticed that calling craft feed-me/feeds/queue --all=1 wasn't executing all feeds as expected and seemed to only be executing the first feed in the list. It appears this is due to the handling of empty data in the FeedImport job. If the feed's data is empty, it exits the queue job without calling maybeProcessSequencedFeeds(), so if one of the sequenced feeds' data is empty, it fails to execute any of the following sequenced feeds.

Steps to reproduce

  1. Run console command to queue all feeds.
  2. If first feed's data is empty, successive feeds are not executed.

Additional info

  • Craft version: 4.16.18
  • PHP version: 8.2.29
  • Database driver & version: PostgreSQL 14.20
  • Plugins & versions: Feed Me 5.14.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions