Skip to content

Implement the possibility of introducing validation to new allocation requests and new change requests #138

@knikolla

Description

@knikolla

Motivation

Currently, there is no way to validate the input to a new allocation request or a change request. The form accepts whatever input you give it, and due to the async nature of the operation, if the values are incorrect they will fail on the worker trying to perform the operation.

One clear example of this is Change Requests failing to apply in OpenShift when they try to reduce the ResourceQuota below what is currently being used.

Proposed Solution

We should investigate the possibility of introducing validation to these forms, and how to go about that. For example, when clicking submit, ColdFront could try to validate the input and if incorrect return the user back to the form with areas highlighted in red.

This will likely require making changes downstream of ColdFront.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions