Skip to content

Stale reports remain in Netbox after modifying the Python code #14799

@llamafilm

Description

@llamafilm

Deployment Type

Self-hosted

NetBox Version

v3.7.0

Python Version

3.10

Steps to Reproduce

  1. Create a local data source with URL like file:///etc/netbox/config/reports
  2. Create a file there with contents from this example: https://github.com/netbox-community/customizations/blob/master/reports/ipam-reports/ip-duplicate.py
  3. Add a new report module from this file via the local data source
  4. Delete the report module
  5. Modify the Python code to remove the UniquePrefixReport class
  6. Resync the data source
  7. Add a new report module from the same Python file

Expected Behavior

It should show only one report for UniqueIPReport

Observed Behavior

It still shows both reports.
image

Trying to view the source results in an error. /extras/reports/ip_duplicate/UniquePrefixReport/source/
image

Metadata

Metadata

Assignees

Labels

severity: mediumResults in substantial degraded or broken functionality for specfic workflowsstatus: 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