Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Floor plan can be resized to leave racks outside allowable bounds. #132

Open
djhoward12 opened this issue Nov 19, 2024 · 0 comments · May be fixed by #137
Open

Floor plan can be resized to leave racks outside allowable bounds. #132

djhoward12 opened this issue Nov 19, 2024 · 0 comments · May be fixed by #137
Labels
status: accepted This issue has been accepted by the maintainers team for implementation type: bug

Comments

@djhoward12
Copy link
Collaborator

Environment

  • Python version: 3.12
  • Nautobot version: 2.3.11
  • nautobot-floor-plan version: 2.4

Expected Behavior

I expect that if a floor plan is resized to a size that would leave racks outside the bounds a validation error would occur.

Observed Behavior

I am able to make a floor plan smaller than currently placed racks.

Steps to Reproduce

  1. Create a Floor plan with an X width of 15 and a Y width of 10, using numbers, starting position of 1 and a step of 1.
  2. Place a rack at Grid coordinate (13,1)
  3. Resize the Floor plan to an X width of 10 and a Y width of 10.
  4. Floor plan resizes with no errors and rack is no longer visible on the floor plan.
@djhoward12 djhoward12 added status: accepted This issue has been accepted by the maintainers team for implementation type: bug labels Nov 20, 2024
@djhoward12 djhoward12 linked a pull request Dec 4, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: accepted This issue has been accepted by the maintainers team for implementation type: bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant