Skip to content

Fixes #4179: Set site field as required in rack group create form #4182

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

Closed
wants to merge 5 commits into from
Closed

Fixes #4179: Set site field as required in rack group create form #4182

wants to merge 5 commits into from

Conversation

hSaria
Copy link
Contributor

@hSaria hSaria commented Feb 15, 2020

Fixes: #4179

During #3912, the site field in the rack group create form was accidentally set as not required.

@hSaria
Copy link
Contributor Author

hSaria commented Feb 16, 2020

I went through #4136 and have also caught the following (included in the PR):

  • PowerPanelForm: site field should be required
  • SecretFilterForm: role field should not be required (it's a filter form)

@hSaria
Copy link
Contributor Author

hSaria commented Feb 18, 2020

Closed by a456cbb.

@hSaria hSaria closed this Feb 18, 2020
@hSaria hSaria deleted the 4179-rack-group-site branch February 18, 2020 16:11
@jeremystretch
Copy link
Member

Thanks for putting this in. I've used your PR as reference for a fix I just pushed for the first two issues. I wanted to open a separate bug (#4194) for the secret role problem though to ensure it's tracked separately.

@lock lock bot locked as resolved and limited conversation to collaborators May 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

IntegrityError when creating rack group or power panel without site
2 participants