Report raises AbortTransaction() when commit=False and log_failure() has been used #17635
Labels
severity: low
Does not significantly disrupt application functionality, or a workaround is available
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
v4.1.2
Python Version
3.11
Steps to Reproduce
Create a script that logs a failure. Run the script with commit=False
Expected Behavior
The script will log one 'Failure' line, rollback database changes, and complete
Observed Behavior
The script logs appropriate, but adds an additional failure, as show below, before rolling back DB changes
The text was updated successfully, but these errors were encountered: