You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a device with a front port and a rear port.
Delete the rear port.
The front port is labeled 24, but no ports exist.
This phenomenon occurs with modules.
Create a module with various components.
module to the device.
component is increasing and confirms that it is indeed present.
Delete the module.
The Interface component has been removed, but the others (console port, power port, etc.) show that there are 32, even though the component is not present.
Expected Behavior
We expect the number of components to match the numbers displayed in the tabs.
Observed Behavior
Different numbers are displayed even though the component does not exist.
The text was updated successfully, but these errors were encountered:
If one is added in the state of 32, the display becomes 33.
If I delete it, it just goes back to 32 and cannot be set to 0.
Please let me know how to fix this as well.
@penM000 you can run the management command calculate_cached_counts to recalculate the counters to the correct values. There is another bug #14081 that effects removing parent elements that is currently being worked on, but the management command will recalc it to show the correct values.
Thank you for your confirmation.
Thank you also for your help on how to correct the problem.
I am aware that this is similar to #14081. Is this ticket closed?
NetBox version
v3.6.4
Python version
3.8
Steps to Reproduce
I know of two ways to generate this problem.
Method using front and rear ports
This phenomenon occurs with modules.
Expected Behavior
We expect the number of components to match the numbers displayed in the tabs.
Observed Behavior
Different numbers are displayed even though the component does not exist.
The text was updated successfully, but these errors were encountered: