Allocation request form allows blank submission and behaves inconsistently

Aperta
#692 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python
Ambito
full-stack

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Python
Stelle
1
Fork
1
Merge medio
3h 24m
PR unite (30g)
6

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

  • Nessun Dockerfile né file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di BCStudentSoftwareDevTeam/lsf

Tutte le issue di BCStudentSoftwareDevTeam/lsf

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.