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

Pas de 409 sur POST /journeys #2693

Open
jonathanfallon opened this issue Nov 21, 2024 · 0 comments
Open

Pas de 409 sur POST /journeys #2693

jonathanfallon opened this issue Nov 21, 2024 · 0 comments
Assignees
Labels
API V3 BUG Keep Calm and Carry On

Comments

@jonathanfallon
Copy link
Member

jonathanfallon commented Nov 21, 2024

La route POST /journeys ne renvoie de 409 à la détection d'un conflit.

L'INSERT ne fait rien en base mais le code met quand même à jour le statut du trajet ce qui pose problème quand il a déjà été traité.

TODO : Lancer une exception en cas de conflit avec une 409 (+ ajouter une ligne dans carpool_v2.requests).

⚠️ merger le refactor de la PR #2698 avant de faire ce ticket.
⚠️ le versioning de l'API implique des modifs dans le service et repository.

@jonathanfallon jonathanfallon self-assigned this Nov 21, 2024
@jonathanfallon jonathanfallon added BUG Keep Calm and Carry On API V3 labels Nov 21, 2024
@jonathanfallon jonathanfallon moved this from To do to In progress in Tableau Kanban Nov 21, 2024
@jonathanfallon jonathanfallon moved this from In progress to To do in Tableau Kanban Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API V3 BUG Keep Calm and Carry On
Projects
Status: To do
Development

No branches or pull requests

1 participant