netbox-reorder-rack
netbox-reorder-rack copied to clipboard
0U child devices appear as 0.5U
netbox-reorder-rack version
v1.1.1
Python version
3.12
Steps to Reproduce
- Create a new rack
- Add a 1U device
- Add a 0U child device with no position
- Click reorder rack
Expected Behavior
Correct behavior is undefined, but it should not be possible to add a child device to the rack.
My preference: Display child devices in a separate box, and allow dragging them into a parent device. There would need to be some kind of UI indicator of parent status.
Observed Behavior
The child device is shown in the right-hand list of un-racked devices with 0.5U height. It lets me drag it into the rack. If I try to do that and save changes, it logs Internal Server Error: /api/plugins/reorder/save/176/
.
Also — the unracked devices graphic is weirdly offset to the right of the page, past the extent of the top bar.