Skip to content

Webhook not fired for the cable object when a device is deleted #19861

Open
@soumiksamanta

Description

@soumiksamanta

Deployment Type

Self-hosted

NetBox Version

v4.2.5

Python Version

3.10

Steps to Reproduce

  1. Create a POST webhook with event rule for device and cable and event types Object created, Object updated, Object deleted
  2. Create 2 devices (D1 and D2)
  3. Webhook sent for device creations
  4. Create a cable using A= D1-intf1 and B=D2-intf1
  5. Webhook sent for cable creation
  6. Delete D1
  7. Webhook received for device D1 deletion
  8. Cable is updated with only one termination B=D2-intf1

Expected Behavior

Since netbox updated the cable, webhook should be sent for the cable object

Observed Behavior

Observed:

No webhook received for the cable update

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: needs triageThis issue is awaiting triage by a maintainertopic: cablingtopic: event rulesFor issues related to the Event Rules featuretype: bugA confirmed report of unexpected behavior in the application

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions