Actions
Feature #36466
closedAllow gathering information on deleted records
Description
Foreman allows subscriptions to the events that occur on ActiveRecord objects (such as an object being created). The problem is that when an object is destroyed, the dependent bonds are being destroyed also with relational links, and can't be referenced afterwards.
The problem can be easily observed via foreman_webhooks plugin:
0. Have a host with some interfaces.
1. Create a webhook template with `@object.interfaces` payload.
2. Create a webhook and subscribe to host destroyed event.
3. Delete the host.
4. Notice that payload contains no interface information.
Updated by The Foreman Bot over 1 year ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/9725 added
Updated by Oleh Fedorenko over 1 year ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman|b9986c9648b55c0d8fae4ab5ff5845763ddbea1f.
Actions