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

Saved Filter doesn't appear in cable add view #14544

Closed
llamafilm opened this issue Dec 16, 2023 · 3 comments
Closed

Saved Filter doesn't appear in cable add view #14544

llamafilm opened this issue Dec 16, 2023 · 3 comments
Labels
status: revisions needed This issue requires additional information to be actionable type: bug A confirmed report of unexpected behavior in the application

Comments

@llamafilm
Copy link
Contributor

llamafilm commented Dec 16, 2023

Deployment Type

Self-hosted

NetBox Version

v3.6-2.7.0

Python Version

3.11

Steps to Reproduce

  1. Create a saved filter with type "DCIM Device" and parameters {"location_id": ["5"]}
  2. Select a device interface and try to connect it
  3. On the "add a new cable" page, open the selector dialog

Expected Behavior

I should be able to see the saved filter

Observed Behavior

I see an empty list.

If I uncheck and re-check the saved filter section then it works, as shown in this video.

Screen.Recording.2023-12-15.at.5.18.07.PM.mov
@llamafilm llamafilm added the type: bug A confirmed report of unexpected behavior in the application label Dec 16, 2023
@DanSheps DanSheps added the status: revisions needed This issue requires additional information to be actionable label Dec 18, 2023
@DanSheps
Copy link
Member

DanSheps commented Dec 18, 2023

Thank you for opening a bug report. I was unable to reproduce the reported behavior on NetBox v3.6.7. Please re-confirm the reported behavior on the current stable release and adjust your post above as necessary. Remember to provide detailed steps that someone else can follow using a clean installation of NetBox to reproduce the issue. Remember to include the steps taken to create any initial objects or other data.

@kkthxbye-code
Copy link
Contributor

v3.6-2.7.0

That netbox-docker tag can be different versions depending on when the image was pulled. The issue you describe was fixed in 3.6.7 and looking at the video it seems you are not on that version.

For posterity, it was fixed in this PR: #14387

The typescript change was because of a bug that was also present for the Saved Filter field. If a collapsible field is defaulted to be shown, the list will not populate when opening like it is supposed to, but only when the user starts typing.

@llamafilm
Copy link
Contributor Author

@kkthxbye-code thanks, I thought that version tag was enough. I don't understand why that tag has 2 different version strings (3.6 and 2.7). I just updated the docker image to the latest and can confirm it's fixed now.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: revisions needed This issue requires additional information to be actionable type: bug A confirmed report of unexpected behavior in the application
Projects
None yet
Development

No branches or pull requests

3 participants