-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cable edit not working #14234
Comments
In addition, this trick will not work if after picking new device you also pick new interface. |
Device is not a discrete field on the cable model, it's provided for filtering purposes. So, the behaviour mentioned is expected. |
I am not aware of technical internals, but the fact is this is not working "correct". At least from my point of view |
@abhi1693 is correct: You changed the device field but did not make any change to the interface field. The device form field exists only to assist in filtering the interfaces list; changing it alone has no bearing on the assigned interface. This in itself is not a bug, though I can see why it may be confusing. I've opened FR #14237 to propose a UI improvement to address this. |
Maybe I'm misunderstanding, but I don't believe that FR would fix anything in this particular case. Cables can terminate on multiple interfaces on different devices. Clearing the multi-select cable termination field when changing the device would not really make sense. |
NetBox version
3.6.4
Python version
3.8
Steps to Reproduce
Checked on demo site.
Expected Behavior
Cable endpoint changed. For example, you relink to the other switch, and it has same interface number, so device change should be enough without port change.
If this is not possible, generate an error. Like destination device does not have such port or something.
Do not fool user with success when no actual changes were made and it is in fact failed.
Observed Behavior
In reality - no change is made. Can be confirmed at looking at the device interfaces. Old cable stays the same
Confusing log with change but nothing changed. Technically log is correct. Indeed, noting changed. But why it is then here if this is change log?
The text was updated successfully, but these errors were encountered: