← Back to team overview

dhis2-devs team mailing list archive

Re: [Bug 483096] Re: Orgunit shortname field should be as long as name field in db

 

> So your proposed solution is to keep the length but remove the
> uniqueness?
>
>
Nope that constraint is also relied upon. I guess people who are doing
manual imports can change the length constraint in the database at their own
risk.

-- 
Orgunit shortname field should be as long as name field in db
https://bugs.launchpad.net/bugs/483096
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:
Having the shortname field in the database limited to only 25 characters makes it hard to import facilities (especially in combination with the other constraints of NOT NULL and UNIQUE (the latter should be removed, see https://bugs.launchpad.net/dhis2/+bug/370791).

If we do want to limit the lengths of shortnames users can enter, this should be an administrative setting.



Follow ups

References