Require Agreement names to be unique

Description

Agreement names should be unique.

If a user tries to save an agreement with the same name as an existing agreement, an in-form validation message should be displayed "This name already exists".

See Settings > Local KB admin > New external data source for an example (shown in screen shot below).

If existing names need to be migrated to be unique, then they should have a numeric suffix added until they are unique (e.g. "agreement A" and "agreement A" become "agreement A" and "agreement A_1"

Attachments

1
  • 04 May 2020, 12:07 PM

Checklist

hide

TestRail: Results

Activity

Show:

md331 May 6, 2020 at 12:51 PM

We won't be able to show inline validation like this in the UI. This will only be reported by the backend upon attempted submission. We'll need to build out a new way of showing those errors (eg, callouts) since we currently just throw up the error alert box if anything.

Done

Details

Components

Assignee

Reporter

Priority

Sprint

Development Team

Bienenvolk

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created May 4, 2020 at 9:22 AM
Updated September 11, 2020 at 12:52 PM
Resolved June 1, 2020 at 10:22 AM
TestRail: Cases
TestRail: Runs