EyeSeeTea / dataset-configuration-blessed

Enhanced dataset manager Dhis2 app (blessed repository)
GNU General Public License v3.0
0 stars 1 forks source link

Allows creation of datasets with same name #166

Closed ardhimanshu closed 5 years ago

ardhimanshu commented 5 years ago

The app allows user to create datasets with same name. That can create confusion among users. So the app, during naming, should first check from list of already existing names and should trow an error if the name already exists.

adrianq commented 5 years ago

OK, we are currently performing the same validation DHIS2 does, i.e. 'name' can be duplicated while 'code' needs to be unique. Anyway, I understand your point here. We will enforce uniqueness for the name and check if there is any duplicated dataset at the moment.