/api/validReasons POST returns 200 instead of 400

Description

Steps to reproduce:
1. Send POST request to /api/validReasons with some assignment that already exists, i.e.:

2. See that returned response code is 200 instead of 400

It seems like this endpoint is missing following annotation:

Environment

None

Activity

Show:
Joanna Bebak
November 16, 2018, 10:01 AM

I checked, and the issue still occurs.

Solange Umuhire Gasengayire
November 16, 2018, 12:54 PM

I was looking into it, but then I got a notification saying it wasn't assigned to me anymore.
Should I reassign it to myself, if no one is working on it, and submit a patch?
Thank you!

Joanna Bebak
November 16, 2018, 12:59 PM

Since I can't make such decisions, could you answer 's question?

Joanna Szymańska
July 10, 2019, 12:55 PM

Reviewed. The issue is still valid.

Joanna Bebak
December 30, 2019, 11:47 AM

The issue is still valid.

Assignee

Erick M'bwana

Reporter

Mateusz Kwiatkowski

Epic Link

Components

Affects versions

Priority

Trivial
Configure