Skip to content

Add Device button under Platform view pre-populates role field instead of platform field #13910

@StefanSCO

Description

@StefanSCO

NetBox version

v3.6.2

Python version

3.9

Steps to Reproduce

  1. Create a Device Role
  2. Create a Platform
  3. Under Devices/Platforms, open the platform's page.
  4. Select the Add Device button

Expected Behavior

  • The Add a new device form has the Platform field pre-populated with the Platform that was created.
  • The path in the URL bar reads /dcim/devices/add/?platform={new platform ID}.

Observed Behavior

  • The Add a new device form has the Platform field pre-populated with the Role that was created.
  • The path in the URL bar reads /dcim/devices/add/?platform={new role ID}.

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