Skip to content

IP losses interface assignment when edited trough an interface #3679

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

Closed
benjaminwaas opened this issue Nov 7, 2019 · 1 comment · Fixed by #3687
Closed

IP losses interface assignment when edited trough an interface #3679

benjaminwaas opened this issue Nov 7, 2019 · 1 comment · Fixed by #3687
Labels
status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application

Comments

@benjaminwaas
Copy link

Environment

  • Python version: python 3.6.7
  • NetBox version: netbox 2.6.7

Hello, The IP will lose its interface assignment when you edit it through a interface of a device.

steps to reproduce the issue:

  • Go to device, e.g. /dcim/devices//
  • Click on the interface name e.g. eth0; this takes you to /dcim/interfaces//
  • On this page is a list of IP addresses. Click one one of them; this takes you to /ipam/ip-addresses//edit/?interface=&return_url=

I have send this question to the mailing list and they told me this could be the fix:

"I think the interface is blank because "interface=" in the query string in the generated link. If I manually change it to "interface=" and refresh then it's fine."

What did you expect to happen?
IP keeps its interface assigment.

What happened instead?
IP loses its interface assignment

@kobayashi
Copy link
Contributor

I can reproduce this issue v2.6.7. The link should be fixed.

@kobayashi kobayashi added type: bug A confirmed report of unexpected behavior in the application status: accepted This issue has been accepted for implementation labels Nov 12, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Feb 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants