Running renaturalize command should invalidate relevant cached queries #4641

Closed
opened 2025-12-29 19:19:02 +01:00 by adam · 0 comments
Owner

Originally created by @jeremystretch on GitHub (Mar 9, 2021).

Originally assigned to: @jeremystretch on GitHub.

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.

Originally created by @jeremystretch on GitHub (Mar 9, 2021). Originally assigned to: @jeremystretch on GitHub. ### 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.
adam added the type: bugstatus: accepted labels 2025-12-29 19:19:02 +01:00
adam closed this issue 2025-12-29 19:19:02 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#4641