Details
-
Bug
-
Resolution: Cannot Reproduce
-
Neutral
-
None
-
1.0.0, 2.0.0
-
None
-
DevX 36
-
2
Description
Asset publish webhook is firing twice on publish event, it should only fire once.
Input from partner:
Also regarding webhooks, I have a webhook listening for mgnl:asset publish and it appears to be triggering twice. I’m trying to diagnose to get you more info because I can’t see anything wrong.
^^^
this is ultimately for a CloudFront cache purge integration. I think I’ve written a CloudFront cache purge about 10 times now so maybe it’s worth a more reusable integration. (edited)
–
Determined the issue is not really with webhooks but that for some reason the webhook launcher command is being triggered twice when i click publish once. so onto figuring out why that is happening
–
OK actually it is due to the webhook config.
The webhook module adds a webhook command to both the default-publish and versioned-publish command chains. However, the versioned-publish command chain references the default-publish, causing the webhook to trigger twice.
–
I think this is a bug but don’t know off the top of my head how to resolve it other than removing the webhook from default-publish (But then if something uses that you won’t get the webhook…)
Checklists
Attachments
Issue Links
- mentioned in
-
Page Loading...