Reason's name can be not unique through update

Description

When testing I noticed that it is possible to change a reason's name to already existing.

Reproduction steps:
1. As administrator go to Administration -> Reasons.
2. Create a new reason and name it "Receipts" - it should not be possible to do so. Try changing name to "ReCEipts" - it should also not be possible to do so. Finally, name it "ReasonTEST" or give it another unique name.
3. Click Edit next to a newly created reason and change its name to "Receipts" - it's not possible. Next change it to "ReCEipts" - it is possible.

Acceptance criteria:
1. Validation for a reason's name should be case-insensitive for all steps, creating and updating.

Environment

None

Activity

Show:

Aleksandra Hinc February 14, 2023 at 10:19 AM

This issue is still valid.

Szymon Rujner February 14, 2022 at 3:15 PM

The issue is still possible to reproduce

Szymon Rujner July 26, 2021 at 1:55 PM

The issue is still possible to reproduce

Joanna Bebak January 31, 2020 at 12:29 PM

The issue is still valid.

Joanna Bebak October 17, 2019 at 6:16 AM

I was able to reproduce the issue.

Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Components

Priority

Time Assistant

Created October 11, 2019 at 11:59 AM
Updated February 14, 2023 at 10:19 AM