Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creazione case study va in errore, ma crea lo stesso il dato #11

Open
epessina opened this issue Feb 18, 2025 · 0 comments
Open

Creazione case study va in errore, ma crea lo stesso il dato #11

epessina opened this issue Feb 18, 2025 · 0 comments

Comments

@epessina
Copy link
Collaborator

La creazione di un case study va in errore, ma l'entità viene creata lo stesso. Quindi ricevo un feedback di fallimento e rimango nella pagina di creazione, ma se torno alla lista dei case study vedo il nuovo dato.

Per esempio, questo payload

Image

si traduce a una chiamata a http://116.203.62.48/api/v2/casestudies/ con body

{
    "label": "Test API error",
    "resolution": 1000,
    "module": "cea",
    "context": "LT",
    "domain_area_terms": [
        140
    ]
}

che risponde 500 con payload

{
    "data": null,
    "error": {
        "message": "Internal Server Error",
        "details": {
            "non_field_errors": null
        }
    }
}

Ma nella lista il case study esiste

Image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant