Allocation request form allows blank submission and behaves inconsistently

Aberta
#692 0 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
45/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
python
Domínio
full-stack

Direção de pesquisa

The payload names no files or tests, so start by reproducing the Allocation Request form submission with all fields blank, first on a fresh form and then after one prior submission, and find the handler that processes it. Done when blank required fields are rejected with a message asking the user to fill them in, and both the first and repeat submissions behave the same way.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

Description:
The Allocation Request form does not validate empty fields. Submitting a blank form for the first time shows “An unexpected error has occurred,” but resubmitting a blank form after a previous submission goes through and shows 0 for every field on the Allocation Review page.

Requirements:
Prevent submission when required fields are blank.
Show a message asking the user to fill in all necessary fields.
Behave the same on the first submission and on resubmissions.

Linguagem predominante
Python
Estrelas
1
Forks
1
Merge médio
3h 24min
PRs com merge (30d)
6

Preparar o ambiente

Abrir no Codespaces

Inicia o contêiner de desenvolvimento do projeto no navegador, com a sua própria conta do GitHub.

  • Sem Dockerfile nem arquivo Docker Compose
  • Sem modelo de pull request
  • Sem guia de contribuição

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de BCStudentSoftwareDevTeam/lsf

Todas as issues de BCStudentSoftwareDevTeam/lsf

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.