When editing existing device sites and device type are unselected #5279

Closed
opened 2025-12-29 19:26:08 +01:00 by adam · 4 comments
Owner

Originally created by @Razerlikes on GitHub (Sep 1, 2021).

NetBox version

v3.0.0 (after Upgrade from 2.11.12)

Python version

3.8

Steps to Reproduce

Use any modern browser

  1. Look for device you want to edit
  2. Open device page
  3. click edit
  4. Save

(couldn't reproduce in demo.netbox.dev)

Expected Behavior

All already configured fields, like device type and site, as they are required for a device, should be prepopulated with configured values

Observed Behavior

Device Type and Site is empty when editing an existing device. When trying to save the device, netbox prompts to fill in the required fields.

Originally created by @Razerlikes on GitHub (Sep 1, 2021). ### NetBox version v3.0.0 (after Upgrade from 2.11.12) ### Python version 3.8 ### Steps to Reproduce Use any modern browser 1. Look for device you want to edit 2. Open device page 3. click edit 4. Save (couldn't reproduce in demo.netbox.dev) ### Expected Behavior All already configured fields, like device type and site, as they are required for a device, should be prepopulated with configured values ### Observed Behavior Device Type and Site is empty when editing an existing device. When trying to save the device, netbox prompts to fill in the required fields.
adam added the type: bug label 2025-12-29 19:26:08 +01:00
adam closed this issue 2025-12-29 19:26:09 +01:00
Author
Owner

@Razerlikes commented on GitHub (Sep 1, 2021):

It's not the only instance where that happens. Also when you add an interface to a device, it doesn't prepopulate the device. Is it worth a separate issue?

@Razerlikes commented on GitHub (Sep 1, 2021): It's not the only instance where that happens. Also when you add an interface to a device, it doesn't prepopulate the device. Is it worth a separate issue?
Author
Owner

@sdktr commented on GitHub (Sep 1, 2021):

Did you try a forced clear of your browser cache? If it can't be reproduced on demo.netbox.dev it leans towards 'something' local?

@sdktr commented on GitHub (Sep 1, 2021): Did you try a forced clear of your browser cache? If it can't be reproduced on demo.netbox.dev it leans towards 'something' local?
Author
Owner

@Razerlikes commented on GitHub (Sep 1, 2021):

I tried different browsers, which shouldn't share their cache. Maybe there's still some cache on the server side?

@Razerlikes commented on GitHub (Sep 1, 2021): I tried different browsers, which shouldn't share their cache. Maybe there's still some cache on the server side?
Author
Owner

@Razerlikes commented on GitHub (Sep 1, 2021):

Reapplying the upgrade.sh and rebooting did the trick... Which I probably should've done first :D

@Razerlikes commented on GitHub (Sep 1, 2021): Reapplying the upgrade.sh and rebooting did the trick... Which I probably should've done first :D
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#5279