Skip to content

afterDelete webhook not triggering for each site #61

@weotch

Description

@weotch

Description

I have an entry on a multi site craft instance. I am using custom propagation on the section ("Let each entry choose which sites it should be saved to"). When I delete an entry, I am expecting a webhook to fire once for each site that the entry has been propagated to. Instead, it's only firing for the site I am currently viewing in the admin.

My use case is headless Craft with a unique Netlify app for each site. When I delete an entry, I want to trigger SSG on all of the Netlify apps that had been rendering that entry.

Steps to reproduce

  1. Create a webhook like this:
    image

  2. Create and save an entry that has been propagated to multiple sites
    image

  3. Delete that entry
    image

  4. Check the webhook activity. I am expecting 2 delete rows, one for each site but only one is produced.
    image

Additional info

  • Craft CMS version: 3.7.13
  • Webhooks version: 2.4.1
  • PHP version: 7.4.3
  • Database driver & version: MySQL 8.0.23
  • Plugins & versions:

Screen Shot 2021-09-29 at 8 50 08 AM

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions