Skip to content

Batched feed processing causes feed events to fire per batch #1619

@pixelmachine

Description

@pixelmachine

Description

The following events all fire per batch which I don't believe is correct based on @i-just's comment here which states that the beforeProcessFeed() method only runs once if there's no pagination:

  • beforeFetchFeed
  • afterFetchFeed
  • afterParseFeed
  • beforeProcessFeed

This event still only fires once:

  • afterProcessFeed

There are currently no feed events that fire only once per feed run which makes it hard to do basic preflight functions. I haven't tested what happens on a per page basis as my data is all single page.

Additional info

  • Craft version: 5.6.14
  • PHP version: 6.8.0

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions