Skip to content

Webhooks trigger regardless of object save failure #6776

@clearly-tyler-whitney

Description

@clearly-tyler-whitney

NetBox version

v2.11.9

Python version

3.8

Steps to Reproduce

  1. Create an object permission which leverages one or more constraints and map it to a user (or group).
  2. Create a webhook which triggers on the same objects & actions. Monitor the webhook receiver.
  3. Attempt an operation which violates one or more of the configured constraints.

Expected Behavior

The operation should fail, and the associated webhook should not trigger.

Observed Behavior

The operation fails, but the webhook is still triggered.

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions