Done
Pinned fields
Click on the next to a field label to start pinning.
Details
Details
Assignee
Adugna Worku
Adugna WorkuReporter
Joanna Szymańska
Joanna Szymańska(Deactivated)Labels
Story Points
2
Components
Sprint
None
Fix versions
Priority
Parent
Time Assistant
Time Assistant
Created December 20, 2018 at 3:56 PM
Updated February 13, 2019 at 8:55 AM
Resolved February 13, 2019 at 8:55 AM
While checking OLMIS-5859, I noticed that when I enter an Id that has too few characters, the response receives 200 code instead of information that the user with the given Id doesn't exist.
Reproduction steps:
Use the GET /api/notification endpoint.
Enter Id that has too few characters e.g. a337ec45-31a0-4f2b-9b2e-a1 and click the "GET" button.
Expected behavior:
The 400 code should be returned, along with the "UUID a337ec45-31a0-4f2b-9b2e-a1 parameter has wrong format for field userId." message. Or information that the user with the given Id doesn't exist.