← Back to team overview

dhis2-devs team mailing list archive

[Bug 370791] Re: orgunitname uniqueness should only be among siblings

 

I think we should remove the uniqueness constraint completely, for both
orgunit name and shortname (and perhaps replace it by functionality to
easily list duplicate names, so that users can decide if it is ok or
not). Identification should be independent of name (to aid with
identification, one will often include things like geographical
coordinates and orgunit type at the facility level).

** Changed in: dhis2
   Importance: Undecided => High

** Changed in: dhis2
    Milestone: None => 2.0.3

-- 
orgunitname uniqueness should only be among siblings
https://bugs.launchpad.net/bugs/370791
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.

Status in DHIS 2 - District Health Information Software: New

Bug description:
Currently, the name field in organisationunit have been set to be unique. This uniqueness constraint should only apply within the scope of the parent, i.e. it is the *combination* of the "name" and the "parentid" fields that should be unique.



References