code4romania / sunrise

Mozilla Public License 2.0
0 stars 1 forks source link

A Service Can Be Added Multiple Times in the Service Nomenclature #286

Open andrei-manda opened 5 days ago

andrei-manda commented 5 days ago

Description

I noticed that the system removes services from the list once they are added to the nomenclature.

image

The issue occurs when two users add the same service at the same time. The system does not check for duplicates, resulting in the same service being added twice.

image

teodoranegru commented 5 days ago

Expected behaviour:

The system should check for duplicates in the "Nomenclator servicii" section and display an error if two users add the same service at the same time.