[PR #12901] [MERGED] Fixes #12885: Permit mounting of devices in U100 #14066

Closed
opened 2025-12-29 23:22:19 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/12901
Author: @jeremystretch
Created: 6/14/2023
Status: Merged
Merged: 6/15/2023
Merged by: @jeremystretch

Base: developHead: 12885-device-position-100


📝 Commits (2)

  • 447a4db Fixes #12885: Permit mounting of devices in U100
  • 35fec66 Define a RACK_U_HEIGHT_MAX constant

📊 Changes

4 files changed (+4 additions, -3 deletions)

View changed files

📝 netbox/dcim/constants.py (+1 -0)
📝 netbox/dcim/migrations/0154_half_height_rack_units.py (+1 -1)
📝 netbox/dcim/models/devices.py (+1 -1)
📝 netbox/dcim/models/racks.py (+1 -1)

📄 Description

Fixes: #12885

  • Fixes the MaxValueValidator applied to Device.position to allow 100 and 100.5 as valid values

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/12901 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 6/14/2023 **Status:** ✅ Merged **Merged:** 6/15/2023 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `12885-device-position-100` --- ### 📝 Commits (2) - [`447a4db`](https://github.com/netbox-community/netbox/commit/447a4db488276857e3f25764a20e24f354efcfe7) Fixes #12885: Permit mounting of devices in U100 - [`35fec66`](https://github.com/netbox-community/netbox/commit/35fec66bf1659f5d61510495aa5b26900fac5ec4) Define a RACK_U_HEIGHT_MAX constant ### 📊 Changes **4 files changed** (+4 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `netbox/dcim/constants.py` (+1 -0) 📝 `netbox/dcim/migrations/0154_half_height_rack_units.py` (+1 -1) 📝 `netbox/dcim/models/devices.py` (+1 -1) 📝 `netbox/dcim/models/racks.py` (+1 -1) </details> ### 📄 Description ### Fixes: #12885 - Fixes the `MaxValueValidator` applied to `Device.position` to allow 100 and 100.5 as valid values --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 23:22:19 +01:00
adam closed this issue 2025-12-29 23:22:20 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14066