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

Missing validation of rack reservation positions #6892

Closed
candlerb opened this issue Aug 5, 2021 · 0 comments
Closed

Missing validation of rack reservation positions #6892

candlerb opened this issue Aug 5, 2021 · 0 comments
Assignees
Labels
status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application

Comments

@candlerb
Copy link
Contributor

candlerb commented Aug 5, 2021

NetBox version

v2.11.10

Python version

3.6

Steps to Reproduce

  1. Open a rack, click on "add reservation"
  2. (Wrongly) enter the position as "U44" instead of "44"

Expected Behavior

A form validation error, allowing the field to be edited and resubmitted

Observed Behavior

An exception is raised:

ValueError at /dcim/rack-reservations/add/
invalid literal for int() with base 10: 'U44'
@candlerb candlerb added the type: bug A confirmed report of unexpected behavior in the application label Aug 5, 2021
@jeremystretch jeremystretch added the status: accepted This issue has been accepted for implementation label Aug 5, 2021
@jeremystretch jeremystretch self-assigned this Aug 5, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application
Projects
None yet
Development

No branches or pull requests

2 participants