Skip to content

Running renaturalize command should invalidate relevant cached queries #5948

@jeremystretch

Description

@jeremystretch

NetBox version

v2.10.5

Python version

3.7

Steps to Reproduce

  1. Start with a set of interfaces with improperly naturalized names and caching enabled
  2. Retrieve the list of interfaces (ordered by their naturalized names)
  3. Run the renaturalize management command
  4. Repeat step 2

Expected Behavior

The interfaces should be ordered by their now-correct naturalized names.

Observed Behavior

The interfaces continue to appear in the original order until the cached query expires.

Metadata

Metadata

Assignees

Labels

status: 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