Skip to content
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

Not able to populate "Assignment" Field in v2.x #4819

Closed
virtualpetey opened this issue Nov 16, 2023 · 2 comments · Fixed by #4881
Closed

Not able to populate "Assignment" Field in v2.x #4819

virtualpetey opened this issue Nov 16, 2023 · 2 comments · Fixed by #4881
Assignees
Labels
type: bug Something isn't working as expected

Comments

@virtualpetey
Copy link

Environment

Nautobot version 2.0.3
Python version 3.11
Database Postgresql version 14.9

Steps to Reproduce

  1. Navigate to any IP Address page.
  2. Notice that there is a field on that page called "Assignment", and that it is empty.
  3. Click "Edit" button.
  4. Notice there are no options to add an assignment for a device and interface to that IP Address.
  5. Navigate to any device page.
  6. Click "Interfaces" tab.
  7. Click "Edit" button.
  8. Assign IP Address to that interface.
  9. Click "Update" button.
  10. Navigate back to the Device tab.
  11. Click "Edit" button.
  12. Assign Primary IP Address.
  13. Click "Update" button.
  14. Click the link for the Primary IP Address.
  15. Notice that the Assignment field is still empty.

Expected Behavior

I expected to see options to add device and interface at the IP Address edit page, as well as a checkmark to make it primary for the device.

Or, alternately, be able to assign an IP Address to a device interface and make it primary for the device, with the "Assignment" field populating on the respective IP Address page automatically.

Observed Behavior

No options were shown in the edit page, and any workarounds, like setting the primary IP on the device page, were not able to populate the "Assignment" field on the IP Address page.

@virtualpetey virtualpetey added triage This issue is new and has not been reviewed. type: bug Something isn't working as expected labels Nov 16, 2023
@glennmatthews
Copy link
Contributor

@glennmatthews glennmatthews removed the triage This issue is new and has not been reviewed. label Nov 16, 2023
@lampwins
Copy link
Member

Since the 80% use case will be single assignments, let's show the value when there is a single assignment. When there are multiple, show the count, and that is a link to the tab for details.

@gsnider2195 gsnider2195 self-assigned this Nov 29, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug Something isn't working as expected
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

4 participants