Only one event rule triggers for a content type #14827
Labels
severity: medium
Results in substantial degraded or broken functionality for specfic workflows
status: accepted
This issue has been accepted for implementation
type: bug
A confirmed report of unexpected behavior in the application
Deployment Type
Self-hosted
NetBox Version
v3.7.0
Python Version
3.11
Steps to Reproduce
Setup:
{ "and": [{"attr": "status.value", "value": "deprecated"}]}
{ "and": [{"attr": "status.value", "value": "active"}]}
python manage.py webhook_receiver
), or observe the webhooks happen in some other way(Sorry, couldn't figure out the correct condition syntax without using the "and" operator)
Demo:
Expected Behavior
Webhook is run twice: first when prefix status was changed to Deprecated (step 6), second when changed to Active again (step 7).
Observed Behavior
Webhook is run only once, that's in step 6, but not in step 7.
Additionally: If Rule 1 is disabled, and steps 6 and 7 are executed again, now the webhook is run in step 7.
Looks like only the first enabled event rule is run for a specific object type.
The text was updated successfully, but these errors were encountered: