Skip to content

Unable to delete data-source when script in-use #20378

@iiEpic

Description

@iiEpic

NetBox Edition

NetBox Community

NetBox Version

v4.4.0

Python Version

3.10

Steps to Reproduce

  1. Create a new local datasource
  2. Create a new script from a file in the datasource you just created
  3. Attempt to delete the datasource you created

Expected Behavior

I expected the data source to be deleted OR an error saying that the data source has files in-use.
Instead I got a managedfile reverse not found

Observed Behavior


Reverse for 'managedfile' not found. 'managedfile' is not a valid view function or pattern name.

Python version: 3.10.12
NetBox version: 4.4.0
Plugins: None installed

Metadata

Metadata

Assignees

Labels

netboxseverity: lowDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions