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

Unable to assign device to rack in location #6107

Closed
rodvand opened this issue Apr 7, 2021 · 1 comment
Closed

Unable to assign device to rack in location #6107

rodvand opened this issue Apr 7, 2021 · 1 comment
Assignees
Labels
beta Concerns a bug/feature in a beta release status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application

Comments

@rodvand
Copy link
Contributor

rodvand commented Apr 7, 2021

NetBox version

v2.11-beta1

Python version

3.8

Steps to Reproduce

  1. Create "Site A"
  2. Create "Location A" with "Site A" as Site
  3. Create a Rack "Rack A"
  4. Create a new Device "Device 0" and assign it to Site -> Site A, Location -> Location A, Rack -> Rack A

Expected Behavior

Dropdown showing Rack A as available option.

Observed Behavior

"The results could not be loaded" in the dropdown. The web inspector shows the query being used is https://beta.netbox.dev/api/dcim/racks/?q=&limit=50&offset=0&brief=true&site_id=25&location_id=location and I guess the location should include the ID instead of the word "location".

@rodvand rodvand added the type: bug A confirmed report of unexpected behavior in the application label Apr 7, 2021
@rodvand
Copy link
Contributor Author

rodvand commented Apr 7, 2021

Looks like a missing $ on

'location_id': 'location',

@jeremystretch jeremystretch added beta Concerns a bug/feature in a beta release status: accepted This issue has been accepted for implementation labels Apr 7, 2021
@jeremystretch jeremystretch self-assigned this Apr 7, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
beta Concerns a bug/feature in a beta release status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application
Projects
None yet
Development

No branches or pull requests

2 participants