-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
severity: lowDoes not significantly disrupt application functionality, or a workaround is availableDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application
Description
NetBox version
v3.6.3
Python version
3.8
Steps to Reproduce
Device
- Click on "Devices" > "Add"
- Select a "Device type" under the "Hardware" section
- Click on the "Platform" dropdown under the "Management" section
- The list includes all Platform values
Device Type
- Click on "Device Types" > "Add"
- Select a "Manufacturer" under the "Device Type" section
- Click on the "Default platform" dropdown under the "Device Type" section
- 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 availableDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application