Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

422 Unprocessable Content On Reset Feature in Open Data Tab

Open
#534 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
typescript
Domain
api, frontend

Research direction

Reproduce the reset flow in the Open Data tab as a logged-in Super-Admin, using the kebab menu and “Elimina Date” after completing “Sumar Activitate.” Inspect the PATCH request to /organization/undefined and the surrounding reset flow. Done means the data reset successfully without the 422 NaN error; consider the confirmation modal noted in the issue.

Written by the indexing model from the issue text.

Description

bug :bug:

Preconditions:
User must be logged in as Super-Admin
The 'Sumar Activitate' section from "ONG-ul in numere" tab must be completed

Steps of Reproduction:

  1. Click on kebab menu
  2. Select the 'Elimina Date' option

Expected Result:
2. The data are reset

Actual Result:
2. The section is refreshed but the data are not reset. The BE return the following error:

{
    "statusCode": 422,
    "message": "invalid input syntax for type integer: \"NaN\"",
    "code": "22P02",
    "timestamp": "2024-07-08T12:51:02.800Z",
    "path": "/organization/undefined",
    "method": "PATCH",
    "stack": {}
}

NOTE:

  • It would improve the user experience to add a confirmation modal.

6

Dominant language
TypeScript
Stars
6
Forks
5
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from code4romania/onghub

All issues in code4romania/onghub

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.