-
Type:
Bug
-
Resolution: Duplicate
-
Priority:
Low
-
Component/s: Connect Platform - Webhook
-
Minor
Issue Summary
When space is moved to trash, it doesn't trigger `page_trashed` and `blog_trashed` events for pages and blogs that the space contains. Only `space_soft_deleted` webhook event is generated.
Currently, `page_trashed` and `blog_trashed` events are only generated when a page or blog is purged from a spaces content trash.
In comparison, when a space is deleted it triggers `space_removed` as well as `page_removed` and `blog_removed` webhook events. So, when a space is trashed webhook events should fire similarly.
Steps to Reproduce
- Register the following webhooks with a connect app
"webhooks": [ { "event": "space_soft_deleted", "url": "/api/webhook" }, { "event": "blog_trashed", "url": "/api/webhook" }, { "event": "page_trashed", "url": "/api/webhook" }, { "event": "space_removed", "url": "/api/webhook" }, { "event": "blog_removed", "url": "/api/webhook" }, { "event": "page_removed", "url": "/api/webhook" } ]
- Send a space to trash that contains blogs and pages.
Expected Results
`space_soft_deleted` event should be generated and `page_trashed` and `blog_trashed` events should also generate.
Actual Results
Only `space_soft_deleted` webhook event is generated.
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available
- duplicates
-
CONFCLOUD-77519 Trashing a space does not result in webhook events
-
- Gathering Impact
-
- mentioned in
-
Page Loading...