"'DeviceBayForm' has no field named 'installed_device'" when trying to edit device bay details with an installed device in it #3106

Closed
opened 2025-12-29 18:25:41 +01:00 by adam · 0 comments
Owner

Originally created by @hoalex on GitHub (Jan 2, 2020).

Environment

  • Python version: 3.6.8
  • NetBox version: 2.6.9

Steps to Reproduce

  1. Create Device Type "Parent" with Parent/child status = Parent and add one device bay "Bay 1"
  2. Create Device Type "Child" with Parent/child status = Child
  3. Create Devices "Parent" and "Child"
  4. Assign device "Child" to bay of device "Parent"
  5. Navigate to device "Parent" and select the "Edit device bay" icon for "Bay 1"
  6. Do not change anything in the form, simply click on "Update"

Error message appears:
2020-01-02 11_48_16-Server Error

Expected Behavior

No error message when trying to update the details of an installed device in a device bay.

Observed Behavior

Changing details of a device bay only seems to be possible as long as the device bay has a status of "Vacant". Once a device is installed in the device bay, the above error message appears.

Originally created by @hoalex on GitHub (Jan 2, 2020). ### Environment * Python version: 3.6.8 * NetBox version: 2.6.9 ### Steps to Reproduce 1) Create Device Type "Parent" with Parent/child status = Parent and add one device bay "Bay 1" 2) Create Device Type "Child" with Parent/child status = Child 3) Create Devices "Parent" and "Child" 4) Assign device "Child" to bay of device "Parent" 5) Navigate to device "Parent" and select the "Edit device bay" icon for "Bay 1" 6) Do not change anything in the form, simply click on "Update" Error message appears: ![2020-01-02 11_48_16-Server Error](https://user-images.githubusercontent.com/6103894/71663655-597ca600-2d56-11ea-8060-4d2be6af2332.png) ### Expected Behavior No error message when trying to update the details of an installed device in a device bay. ### Observed Behavior Changing details of a device bay only seems to be possible as long as the device bay has a status of "Vacant". Once a device is installed in the device bay, the above error message appears.
adam added the type: bugstatus: accepted labels 2025-12-29 18:25:41 +01:00
adam closed this issue 2025-12-29 18:25:41 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#3106