code4romania / code4romania/onghub

Cannot Return to Form After Invalid Document and NGO Logo Upload

Open
#524 0 comments 0 reactions 0 assignees View on GitHub
bug :bug:
Dominant language
TypeScript
Stars
6
Forks
5
PR merge metrics
No merged PRs in 30d

Description

**Update:**
The issue can also be reproduced when uploading invalid files to the NGO logo.

**Preconditions:**
User must be on the **Step 4** of the NGO registration form.

**Steps to Reproduce:**
1. Upload an **invalid** file to "Statutul organizatiei" section
2. Complete the rest of the form with **valid** data
3. Click on "Trimite" button
4. Click on "Incearca din nou" button

**Expected Results:**
4. User is redirected back to **Step 4** of the form.

**"Actual Results:"**
4. The POST call to "/request" endpoint is made again, failing and displayed the same error page.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.