422 Unprocessable Content On Reset Feature in Open Data Tab
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
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
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:
- Click on kebab menu
- 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.
- Dominant language
- TypeScript
- Stars
- 6
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from code4romania/onghub
-
bug :bug:
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
code4romania/onghub#536 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 15/100
code4romania/onghub#648 ·
-
502 Bad Gateway Error When Downloading Table from 'ONG-uri' PageMay be free again @radulescuandrew claimed this 770 days ago, and no pull request is open. Openbug :bug: ready-for-deploy
code4romania/onghub#635 · 1 comment · 1 reaction · 1 assignee ·
-
bug :bug:
Difficulty 3/5 1-2 days Newbie friendliness 35/100
code4romania/onghub#631 ·
-
bug :bug:
Difficulty 3/5 1-2 days Newbie friendliness 42/100
code4romania/onghub#630 ·
All issues in code4romania/onghub
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
db-ux-design-system/core-web#8461 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Cannot run an integration on windows when power shell is selected as the default profile terminalOpenPriority/Blocker Type/Bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
wso2/product-integrator#2767 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
severity:low
Difficulty 1/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day