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

Contact Roles link to Assignments leads to wrong view #10874

Closed
v0tti opened this issue Nov 9, 2022 · 2 comments · Fixed by #10879
Closed

Contact Roles link to Assignments leads to wrong view #10874

v0tti opened this issue Nov 9, 2022 · 2 comments · Fixed by #10879
Assignees
Labels
status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application

Comments

@v0tti
Copy link
Contributor

v0tti commented Nov 9, 2022

NetBox version

v3.3.7

Python version

3.9

Steps to Reproduce

  1. Create Contact Role "Foo"
  2. Create Contact "Bar"
  3. Create Site "Baz"
  4. Assign Contact "Foo" to Site "Baz" as Contact Role "Bar"
  5. Open Contact Role "Bar", click on the number next to "Assignments".

Expected Behavior

I expect to see the assignments of Contacts using this Contact Role.

Observed Behavior

The link leads to /tenancy/contacts/?role=bar which is a filter option that does not exist.

@v0tti v0tti added the type: bug A confirmed report of unexpected behavior in the application label Nov 9, 2022
@arthanson arthanson self-assigned this Nov 9, 2022
@arthanson
Copy link
Collaborator

@v0tti I think step 4 is off, you have Contact Role "Bar" but your contact Role in step 1 in "Foo". I tried the steps as:
4. Assign Contact "Bar" to site "Baz" as Contact Role "Foo" The filter option does exist but I am seeing some possible wrong results which I'm checking. But can you please double check if those are the right repro steps?

@jeremystretch jeremystretch added the status: accepted This issue has been accepted for implementation label Nov 10, 2022
@jeremystretch
Copy link
Member

Seems like the issue is just that there's no view for a contact assignments list, so the count shouldn't be a link, which #10879 addresses.

jeremystretch added a commit that referenced this issue Nov 10, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 9, 2023
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.

3 participants