Editing multiple racks doesn't validate devices out of bound #1285

Closed
opened 2025-12-29 16:31:05 +01:00 by adam · 2 comments
Owner

Originally created by @Zimeon- on GitHub (Oct 9, 2017).

Issue type

[ ] Feature request
[X] Bug report
[ ] Documentation

Environment

  • Python version:
  • NetBox version: 2.1.4

Description

If you edit multiple racks and make them smaller, there's no validation to check if there are any devices left out of bound of the new rack size.

In example you can edit multiple racks from the size of 42U to say 20U, and if a device was previously at rack on position 30, this rack will not load anymore and an error is given.

Validation is done when editing a single rack and this issue does not occur then.

edit: words.

Originally created by @Zimeon- on GitHub (Oct 9, 2017). ### Issue type [ ] Feature request [X] Bug report [ ] Documentation ### Environment * Python version: * NetBox version: 2.1.4 ### Description If you edit multiple racks and make them smaller, there's no validation to check if there are any devices left out of bound of the new rack size. In example you can edit multiple racks from the size of 42U to say 20U, and if a device was previously at rack on position 30, this rack will not load anymore and an error is given. Validation is done when editing a single rack and this issue does not occur then. edit: words.
adam added the type: bug label 2025-12-29 16:31:05 +01:00
adam closed this issue 2025-12-29 16:31:05 +01:00
Author
Owner

@jeremystretch commented on GitHub (Oct 9, 2017):

Somewhat related to #1136

@jeremystretch commented on GitHub (Oct 9, 2017): Somewhat related to #1136
Author
Owner

@jeremystretch commented on GitHub (Jan 26, 2018):

Fixed via #1136 (b65d994397)

@jeremystretch commented on GitHub (Jan 26, 2018): Fixed via #1136 (https://github.com/digitalocean/netbox/commit/b65d9943976526af174308da6a8bd0b95b81d448)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#1285