Skip to content

422 Unprocessable Content On Reset Feature in Open Data Tab #534

@andrei-manda

Description

@andrei-manda

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🐛Something isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions