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

Closed
opened 2025-12-29 21:47:50 +01:00 by adam · 0 comments
Owner

Originally created by @iiEpic on GitHub (Sep 17, 2025).

Originally assigned to: @arthanson on GitHub.

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
Originally created by @iiEpic on GitHub (Sep 17, 2025). Originally assigned to: @arthanson on GitHub. ### 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 ```<class 'django.urls.exceptions.NoReverseMatch'> 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
adam added the type: bugstatus: acceptednetboxseverity: low labels 2025-12-29 21:47:50 +01:00
adam closed this issue 2025-12-29 21:47:50 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#11627