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

Closed
opened 2025-12-29 20:39:49 +01:00 by adam · 1 comment
Owner

Originally created by @StefanSCO on GitHub (Sep 27, 2023).

Originally assigned to: @yash-pal1 on GitHub.

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}.
Originally created by @StefanSCO on GitHub (Sep 27, 2023). Originally assigned to: @yash-pal1 on GitHub. ### 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}.
adam added the type: bugstatus: acceptedseverity: low labels 2025-12-29 20:39:49 +01:00
adam closed this issue 2025-12-29 20:39:49 +01:00
Author
Owner

@yash-pal1 commented on GitHub (Sep 27, 2023):

@abhi1693 Can you pleas assign me this issue, I am able to do this

@yash-pal1 commented on GitHub (Sep 27, 2023): @abhi1693 Can you pleas assign me this issue, I am able to do this
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#8682