Skip to content

Device Platform selection is not limited by Manufacturer #14058

@sleepinggenius2

Description

@sleepinggenius2

NetBox version

v3.6.3

Python version

3.8

Steps to Reproduce

Device
  1. Click on "Devices" > "Add"
  2. Select a "Device type" under the "Hardware" section
  3. Click on the "Platform" dropdown under the "Management" section
  4. The list includes all Platform values
Device Type
  1. Click on "Device Types" > "Add"
  2. Select a "Manufacturer" under the "Device Type" section
  3. Click on the "Default platform" dropdown under the "Device Type" section
  4. The list includes all Platform values

Expected Behavior

The available list of platforms should be limited by the selected manufacturer.

Observed Behavior

All Platform objects are available for selection.

It looks like when #11952 was implemented it caused a regression in how this worked for Devices, as the Manufacturer was previously filtered on in the UI. There is still a check in place on the Device.clean method to perform this validation, so it seems to just be a UI bug for Devices at this time.

For Device Types, it does not appear that filtering or validation were ever added for the default_platform field.

Metadata

Metadata

Assignees

Labels

severity: lowDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions